[curl/curl] 0c55fb: conn: add 'attach' to protocol handler, make libss...
Daniel Stenberg <[email protected]> Mon, 17 May 2021 08:58:38 -0700
| Newsgroups | gmane.comp.web.curl.cvs |
|---|---|
| Message-ID | <curl/curl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/curl/curl
Commit: 0c55fbab45bedb761766109d41c3da49c4bc66c6
https://github.com/curl/curl/commit/0c55fbab45bedb761766109d41c3da49c4bc66c6
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/ldap.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
Closes #7078
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits