Skip to content

Performance of POST body parsing of HTTP server #228

Answered by ghost
JerryCauser asked this question in Q&A
Discussion options

You must be logged in to vote

autocannon is broken and sends invalid HTTP. The numbers for Node.js are really bad as well, since it closes the connection every time since autocannon sends two extra bytes at the end of the body, breaking the protocol. uWebSockets does not close the connection immediately, as it has a different parsing strategy. You have to test with a client that isn't garbage.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #228 on December 09, 2020 11:11.