[curl/curl] 9cb836: conn: add 'attach' to protocol handler, make libss...

Daniel Stenberg <[email protected]> Sun, 16 May 2021 23:57:11 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/handler-attach/[email protected]>
  Branch: refs/heads/bagder/handler-attach
  Home:   https://github.com/curl/curl
  Commit: 9cb8360b9f596faf383c7e211cc80d842d3fa72d
      https://github.com/curl/curl/commit/9cb8360b9f596faf383c7e211cc80d842d3fa72d
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M lib/curl_rtmp.c
    M lib/dict.c
    M lib/file.c
    M lib/ftp.c
    M lib/gopher.c
    M lib/http.c
    M lib/http2.c
    M lib/imap.c
    M lib/mqtt.c
    M lib/multi.c
    M lib/openldap.c
    M lib/pop3.c
    M lib/rtsp.c
    M lib/smb.c
    M lib/smtp.c
    M lib/telnet.c
    M lib/tftp.c
    M lib/url.c
    M lib/urldata.h
    M lib/vssh/libssh.c
    M lib/vssh/libssh2.c
    M lib/vssh/ssh.h
    M lib/vssh/wolfssh.c

  Log Message:
  -----------
  conn: add 'attach' to protocol handler, make libssh2 use it

The libssh2 backend has SSH session associated with the connection but
the callback context is the easy handle, so when a connection gets
attached to a transfer, the protocol handler now allows for a custom
function to get used to set things up correctly.

Reported-by: Michael O'Farrell
Fixes #6898


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits