From 2da1378f53cc019c7bfb11fbd24267d69d05e8af Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 25 Oct 2001 05:13:18 +0000 Subject: Changes to reflect the various fixes to have CONNECT upstream proxying work. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index b7567c5..e335d95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2001-10-25 Robert James Kaes + * src/reqs.c (process_client_headers): Selectively send headers + based on whether we're using an upstream with a CONNECT + request. The short answer: all methods work correctly with + Upstream proxying and normal proxying. + + * src/tinyproxy.h: Added a upstream flag to the conn_s structure + so we can figure out when to send headers and when not to send + headers. This is extremely important when trying to do upstream + proxying of the CONNECT method. + * src/reqs.c (relay_connection): Empty the contents of both buffers when either socket is closed. This is more in line with what a tunnel should do. Since either end could close with -- cgit v1.2.3