diff options
author | des <des@FreeBSD.org> | 2015-10-16 12:21:44 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-10-16 12:21:44 +0000 |
commit | 7cd58b9488563c5becfc657f8fdc56f141ae9aec (patch) | |
tree | 8868fc562d1b24540e135a75c5d571150285e715 /lib/libfetch/file.c | |
parent | 7f5fdd9fd0fe05175bb9505518308a90bbe9674c (diff) | |
download | FreeBSD-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