diff options
author | Michael Adam <obnox@samba.org> | 2009-09-28 08:07:35 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-28 11:24:33 +0200 |
commit | 2beaac96d3d46232ca14a0e3e52e45e16d8c772d (patch) | |
tree | 64e2742afe8e54a0800f46c2bb19e822ac617125 /src | |
parent | f08f0218af63811dacfd81ee2aff5013674c71ec (diff) | |
download | tinyproxy-2beaac96d3d46232ca14a0e3e52e45e16d8c772d.tar.gz tinyproxy-2beaac96d3d46232ca14a0e3e52e45e16d8c772d.zip |
handle_connection: make logic clearer when deciding whether to use connect/ssl
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1674,7 +1674,7 @@ send_error: return; } - if (!connptr->connect_method || (connptr->upstream_proxy != NULL)) { + if (!(connptr->connect_method && (connptr->upstream_proxy == NULL))) { if (process_server_headers (connptr) < 0) { if (connptr->error_variables) send_http_error_message (connptr); |