use mongoose as http server, windows as http client ,when i use mg_http_printf_chunk send data 200/s,windows cmd curl occur "Illegal or missing hexadecimal sequence in chunked-encoding", error #2126
-
use mongoose as http server, windows cmd as http client ,when i use mg_http_printf_chunk send data 200/s,contiue about 10 minute,windows cmd curl occur "Illegal or missing hexadecimal sequence in chunked-encoding", error int
} static void *thread_steam_post_tag_httpclient(void *param) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
What exactly are you doing ? What is your event handler function ? What are those The issue template exists for a reason, please honor it and fill it. |
Beta Was this translation helpful? Give feedback.
-
Why do you want to send 200 msgs/s ? Why such short messages ? TCP has been designed for anything other than that, and HTTP does not work best like that. Please read the documentation, read the tutorials, and |
Beta Was this translation helpful? Give feedback.
Why do you want to send 200 msgs/s ? Why such short messages ? TCP has been designed for anything other than that, and HTTP does not work best like that.
You are putting an unnecessary burden on your system.
There is no need to queue anything, if you have the response, just send it, TCP will control data flow with the other end.
The poll event is not timely regular, it will be triggered every time the manager is woken up, either by a timeout or by data in a socket.
Please read the documentation, read the tutorials, and
fill the issue template