Date: Wed, 14 Oct 2015 15:54:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194483] [PATCH] libfetch: Properly deal with multi-line proxy responses to CONNECT requests Message-ID: <bug-194483-8-SEMRMamOcQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-194483-8@https.bugs.freebsd.org/bugzilla/> References: <bug-194483-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194483 Dag-Erling Sm=C3=83=C2=B8rgrav <des@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148498|0 |1 is obsolete| | Assignee|freebsd-bugs@FreeBSD.org |des@FreeBSD.org Status|New |In Progress --- Comment #1 from Dag-Erling Sm=C3=83=C2=B8rgrav <des@FreeBSD.org> --- Created attachment 162043 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D162043&action= =3Dedit Revised patch Hi Fabian, First, my apologies for not picking this up earlier. It was not assigned to me, and your cc: drowned in my inbox. For the record, this bug is trivial to reproduce: $ sudo pkg install privoxy $ privoxy /dev/null $ HTTP_PROXY=3Dhttp://localhost:8118/ fetch -o/dev/null -v https://www.freebsd.org/=20 I have prepared a different patch that uses http_next_header() to iterate o= ver the response instead of just reading until the buffer is empty (partly for cleanliness and partly because I was unable to convince myself that this wo= uld always work correctly). Could you please confirm that it works for you? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194483-8-SEMRMamOcQ>