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-incoming-pipelined-socket-destroy.js @ 6f043940

History | View | Annotate | Download (2.66 KB)

# Date Author Comment
42cd4689 01/23/2014 03:42 PM Alexis Campailla

test: fix http-incoming-pipelined-socket-destroy

The test was calling server.close() after write on the socket
had completed. However the fact that the write had completed was
not valid indication that the server had received the data.

This would result in a premutaure closing of the server and...

01e29202 04/22/2013 12:54 PM isaacs

http: Don't try to destroy nonexistent sockets

Fixes #3740

In the case of pipelined requests, you can have a situation where
the socket gets destroyed via one req/res object, but then trying
to destroy another req/res on the same socket will cause it to...