diff options
author | des <des@FreeBSD.org> | 2017-01-09 14:13:47 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2017-01-09 14:13:47 +0000 |
commit | 79bb75a34c3a447ed52acffff86fa5ef3d8722f0 (patch) | |
tree | 0b305c121b7c19f2840aaff8ef8dde8c7784b3a6 /lib/libfetch/http.c | |
parent | f91948fdd5322d9aae1e8785976df69612c1999f (diff) | |
download | FreeBSD-src-79bb75a34c3a447ed52acffff86fa5ef3d8722f0.zip FreeBSD-src-79bb75a34c3a447ed52acffff86fa5ef3d8722f0.tar.gz |
MFH (r310823): fix multi-line CONNECT responses
PR: 194483
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r-- | lib/libfetch/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 0c575d0..bb509c1 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -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) { |