mirror of
https://github.com/curl/curl.git
synced 2026-06-23 10:25:42 +03:00
url: fix the SSH connection reuse check
Reported-by: Harry Sintonen Closes #10735
This commit is contained in:
parent
fcee070cb1
commit
af369db4d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue