Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 14:13:47 +0000 (UTC)
From:      =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r311786 - stable/11/lib/libfetch
Message-ID:  <201701091413.v09EDl2g010842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Mon Jan  9 14:13:47 2017
New Revision: 311786
URL: https://svnweb.freebsd.org/changeset/base/311786

Log:
  MFH (r310823): fix multi-line CONNECT responses
  
  PR:		194483

Modified:
  stable/11/lib/libfetch/http.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libfetch/http.c
==============================================================================
--- stable/11/lib/libfetch/http.c	Mon Jan  9 13:12:09 2017	(r311785)
+++ stable/11/lib/libfetch/http.c	Mon Jan  9 14:13:47 2017	(r311786)
@@ -1432,7 +1432,7 @@ http_connect(struct url *URL, struct url
 			default:
 				/* ignore */ ;
 			}
-		} while (h < hdr_end);
+		} while (h > hdr_end);
 	}
 	if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 &&
 	    fetch_ssl(conn, URL, verbose) == -1) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701091413.v09EDl2g010842>