diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-26 08:54:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-26 08:54:36 +0000 |
commit | 2c43d64302cc58532768e7e98fceb0e3032950cc (patch) | |
tree | 78aa417739b461b031cf80d8407e3de9cd6337f5 /lib/urldata.h | |
parent | fd802db39f77fa3985d20e461742bf24644065d6 (diff) |
Added a new 'bit' in the connect struct named 'tunnel_proxy' that is set
if a connection is tunneled through a proxy. A tunnel is done with CONNECT,
either when using HTTPS or FTPS, or if explicitly enabled by the app.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index ef5d1a5f5..900b74e0b 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -309,6 +309,10 @@ struct ConnectBits { bool retry; /* this connection is about to get closed and then re-attempted at another connection. */ bool no_body; /* CURLOPT_NO_BODY (or similar) was set */ + bool tunnel_proxy; /* if CONNECT is used to "tunnel" through the proxy. + This is implicit when SSL-protocols are used through + proxies, but can also be enabled explicitly by + apps */ }; struct hostname { |