]> git.ipfire.org Git - thirdparty/curl.git/commit
sws: close sockets properly
authorJoe Mason <jmason@rim.com>
Mon, 6 Aug 2012 17:44:38 +0000 (13:44 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Aug 2012 22:28:21 +0000 (00:28 +0200)
commit42e4c34ff37c259ff26e78aab22c0bccf06d1bcb
tree9749995ece5e99c0579618b1506782bc84a58b2f
parent0df14c83932b2022c3f424985d8e1fe51f7fb8f5
sws: close sockets properly

Fix a bug where closed sockets (fd -1) were left in the all_sockets
list, because of missing parens in a pointer arithmetic expression

Reenable the tests that were locking up due to this bug.
tests/data/DISABLED
tests/server/sws.c