View | Details | Raw Unified | Return to bug 194483 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/libfetch/http.c (-2 / +9 lines)
Lines 1411-1417 http_connect(struct url *URL, struct url *purl, const char *flags) Link Here
1411
			fetch_close(conn);
1411
			fetch_close(conn);
1412
			return (NULL);
1412
			return (NULL);
1413
		}
1413
		}
1414
		http_get_reply(conn);
1414
		/* Read and discard the rest of the proxy response */
1415
		do {
1416
			if (-1 == fetch_getln(conn)) {
1417
				fetch_syserr();
1418
				fetch_close(conn);
1419
				return (NULL);
1420
			}
1421
			http_conn_trimright(conn);
1422
		} while (conn->buflen != 0);
1415
	}
1423
	}
1416
	if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 &&
1424
	if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 &&
1417
	    fetch_ssl(conn, URL, verbose) == -1) {
1425
	    fetch_ssl(conn, URL, verbose) == -1) {
1418
- 

Return to bug 194483