tufao
tufao copied to clipboard
An asynchronous web framework for C++ built on top of Qt
Solve the problem of incomplete data received when using websocket to transmit more than 128K data
Solve the problem of incomplete data received when using websocket to transmit more than 128K data
Question: During self-test,the Web transfers data to the application through the tufao library,But when the amount of transmitted data is 128KB, the application does not receive the data message through...
version:1.4.5 protocol :websocket When the amount of data over 128K, slot "newMessage" can only receive most of the data. I found the last part of the data is in priv->payload,...
Because I have a very good-looking HTML page, how can I transfer values to the HTML page? Thank. I'm sorry to see that you are not maintaining the project. Thank...
hi I use tufao 0.8.9 version. the problem is http client post a long polling request, and after waiting more than 5 minutes server response client , but the same...
when build tufao as your instruction,it reports error as title。
Initial work on the [parse_form_data_uploaded_files branch](https://github.com/vinipsmaker/tufao/tree/parse_form_data_uploaded_files).
It is possible to install Qt via Conan package manager [0], so with this dependency available, it would be really cool to fetch Tufao too for your local project simply...
[An extra null pointer check is not needed](https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null "Do I need to check for null before delete p?") in [the destructor for the class “Priv”](https://github.com/vinipsmaker/tufao/blob/76e881c9e1a0428757f21c3230fa90134d0157e9/src/priv/websocket.h#L291 "Update candidate: Destructor for Priv").
I have fixed this issue; You should change the code like this: org code: WebSocket::parsePayloadData() { .... QByteArray chunk(priv->fragment); priv->fragment.clear(); emit newMessage(chunk); .... } changed code: WebSocket::parsePayloadData() { .... priv->fragment...