Skip to content
  • Gokhan Sengun's avatar
    ftp: active conn, allow application to set sockopt after accept() call · 23ef5e4b
    Gokhan Sengun authored
    For active FTP connections, applications may need setting the sockopt after accept() call returns successful. This fix gives a call to the callback registered with CURL_SOCKOPTFUNCTION option. Also a new sock type - CURLSOCKTYPE_ACCEPT - is added. This type is to be passed to application callbacks with - purpose - parameter. Applications may use this parameter to distinguish between socket types.
    23ef5e4b