The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-http-client-pipe-end.js @ 6f043940

History | View | Annotate | Download (1.83 KB)

# Date Author Comment
0977638f 12/14/2012 08:46 PM isaacs

test: Fix many tests for http streams2 refactor

9ae6d8fe 05/15/2012 04:05 PM Ben Noordhuis

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.