fukamachi / woo

A fast non-blocking HTTP server on top of libev
http://ultra.wikia.com/wiki/Woo_(kaiju)
MIT License
1.27k stars 96 forks source link

Ignore empty chunks in chunked body #86

Closed fukamachi closed 5 years ago

fukamachi commented 5 years ago

The problem in #85 had been occured because an empty string ("") is in chunked response body and it accidentally terminates the chunked response.

This fixes it by ignoring empty strings while writing the chunked response.