[nodejs] zero length buffer issue on http response

25 views
Skip to first unread message

Kadir Pekel

unread,
Sep 30, 2010, 10:28:51 AM9/30/10
to nod...@googlegroups.com
Zero length buffer with  with 'Content-Length' header also set to buffer length zero causes http server hang on responding.

Here is the code reproducing the problem.


Is this an expected behaviour or a bug? Any idea?

--

kadir.
-- http://twitter.com/kadirpekel

r...@tinyclouds.org

unread,
Sep 30, 2010, 8:13:45 PM9/30/10
to nod...@googlegroups.com
On Thu, Sep 30, 2010 at 7:28 AM, Kadir Pekel <kadir...@gmail.com> wrote:
> Zero length buffer with  with 'Content-Length' header also set to buffer
> length zero causes http server hang on responding.
> Here is the code reproducing the problem.
> http://gist.github.com/603394
> Is this an expected behaviour or a bug? Any idea?

Thanks. Fixed in 265cda9.

Reply all
Reply to author
Forward
0 new messages