Fix buffering logic for HTTP outgoing messages.
Was sending two packets instead of one for some short messages, and even 3, for short chunked-encoded messages. Also use the more general Encode() function for receiving HTTP bodies. Gives ~6% improvement on "hello world" web server benchmarks.
parent
f389f923
Please register or sign in to comment