diff options
author | isaacs <i@izs.me> | 2013-04-22 19:52:42 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-04-22 21:38:14 +0400 |
commit | 025f9133bbdae6ecd8acfc623b42dfbd6d15d6f9 (patch) | |
tree | fd55734ea07860b0ee3d975cad5e95fa8179ddd0 /Makefile | |
parent | 41b75ca9263f368db790fbdcc3963bb1a8c5cb7e (diff) |
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
call undefined.destroy(), since it was already removed from that
message.
Add a guard to OutgoingMessage.destroy and IncomingMessage.destroy
to prevent this error.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions