Skip to content
  • Daniel Stenberg's avatar
    FTP: close callback fix · d5b5f64b
    Daniel Stenberg authored
    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
    d5b5f64b