Fix inverted loop condition which broke multi-line responses to CONNECT.
PR: 194483 Submitted by: Miłosz Kaniewski <milosz.kaniewski@gmail.com> MFC after: 1 week
This commit is contained in:
parent
869d88787d
commit
21ca0912c6
@ -1432,7 +1432,7 @@ http_connect(struct url *URL, struct url *purl, const char *flags)
|
||||
default:
|
||||
/* ignore */ ;
|
||||
}
|
||||
} while (h < hdr_end);
|
||||
} while (h > hdr_end);
|
||||
}
|
||||
if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 &&
|
||||
fetch_ssl(conn, URL, verbose) == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user