Commit 9ae6d8fe authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

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.
parent e813e349
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment