HomeFreeBSD

Fix two bugs in HTTPS tunnelling:

Description

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

Details

Provenance
desAuthored on
Parents
rS289418: Fix build with options DIAGNOSTIC.
Branches
Unknown
Tags
Unknown