mirror of
https://github.com/curl/curl.git
synced 2026-07-25 03:07:17 +03:00
FTP: close callback fix
Keep track of which sockets that are the result of accept() calls and refuse to call the closesocket callback for those sockets. Test case 596 now verifies that the open socket callback is called the same number of times as the closed socket callback for active FTP connections. Bug: http://curl.haxx.se/mail/lib-2011-12/0018.html Reported by: Gokhan Sengun
This commit is contained in:
parent
088ba97a24
commit
d5b5f64bce
4 changed files with 11 additions and 6 deletions
|
|
@ -19,7 +19,6 @@ moo
|
|||
[CLOSE] counter: 2
|
||||
moo
|
||||
[CLOSE] counter: 1
|
||||
[CLOSE] counter: 0
|
||||
</datacheck>
|
||||
</reply>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue