summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/file.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-10-16 12:21:44 +0000
committerdes <des@FreeBSD.org>2015-10-16 12:21:44 +0000
commit7cd58b9488563c5becfc657f8fdc56f141ae9aec (patch)
tree8868fc562d1b24540e135a75c5d571150285e715 /lib/libfetch/file.c
parent7f5fdd9fd0fe05175bb9505518308a90bbe9674c (diff)
downloadFreeBSD-src-7cd58b9488563c5becfc657f8fdc56f141ae9aec.zip
FreeBSD-src-7cd58b9488563c5becfc657f8fdc56f141ae9aec.tar.gz
Fix two bugs in HTTPS tunnelling:
- If the proxy returns a non-200 result, set the error code accordingly so the caller / user gets a somewhat meaningful error message. - Consume and discard any HTTP response header following the result line. PR: 194483 Tested by: Fabian Keil <fk@fabiankeil.de> MFC after: 1 week
Diffstat (limited to 'lib/libfetch/file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud