mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
url: fix the SSH connection reuse check
Reported-by: Harry Sintonen Closes #10735
This commit is contained in:
parent
fcee070cb1
commit
af369db4d3
@ -1315,7 +1315,7 @@ ConnectionExists(struct Curl_easy *data,
|
||||
(data->state.httpwant < CURL_HTTP_VERSION_3))))
|
||||
continue;
|
||||
|
||||
if(get_protocol_family(needle->handler) == PROTO_FAMILY_SSH) {
|
||||
if(get_protocol_family(needle->handler) & PROTO_FAMILY_SSH) {
|
||||
if(!ssh_config_matches(needle, check))
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user