[curl/curl] 764532: libssh2: ignore timeout during disconnect
Daniel Stenberg <[email protected]>
| 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: 7645324072c2f052fa662aded6f26821141ecda1
https://github.com/curl/curl/commit/7645324072c2f052fa662aded6f26821141ecda1
Author: Daniel Stenberg <[email protected]>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M lib/vssh/libssh2.c
Log Message:
-----------
libssh2: ignore timeout during disconnect
... to avoid memory leaks!
libssh2 is tricky as we have to deal with the non-blockiness even in
close and shutdown cases. In the cases when we shutdown after a timeout
already expired, it is crucial that curl doen't let the timeout abort
the shutdown process as that then leaks memory!
Reported-by: Benjamin Riefenstahl
Fixes #6990
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits