diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-06-19 23:54:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-06-20 22:36:52 +0200 |
commit | 88c5c63ffc3312a8c8471b48a44ec5f50420f2e3 (patch) | |
tree | d59bd5ea37c57ff560caea3d06487edbed2f24f2 /tests/data/test4 | |
parent | a9f5ad0e2a47319ada12bfd971f88b5c730fc3a7 (diff) |
multi_socket: react on socket close immediately
As a remedy to the problem when a socket gets closed and a new one is
opened with the same file descriptor number and as a result
multi.c:singlesocket() doesn't detect the difference, the new function
Curl_multi_closed() gets told when a socket is closed so that it can be
removed from the socket hash. When the old one has been removed, a new
socket should be detected fine by the singlesocket() on next invoke.
Bug: http://curl.haxx.se/bug/view.cgi?id=1248
Reported-by: Erik Johansson
Diffstat (limited to 'tests/data/test4')
0 files changed, 0 insertions, 0 deletions