Commit Graph

2 Commits (595b5974d7fcb7ee415e8e4ce6ec182a07bc9dc1)

Author SHA1 Message Date
isaacs 0977638ffb test: Fix many tests for http streams2 refactor 2012-12-14 17:46:23 -08:00
Ben Noordhuis 9ae6d8fee3 http: fix client request.end() EPIPE race
request.end() would sometimes try to write a zero-length buffer to the socket.
Don't do that, it triggers an unnecessary EPIPE when the other end has closed
the connection.

Fixes #3257.
2012-05-15 22:05:36 +02:00