handle_connection: make logic clearer when deciding whether to use connect/ssl

Michael
This commit is contained in:
Michael Adam committed 2009-09-28 11:24:33 +02:00
1 parent f08f0218af
commit 2beaac96d3
1 file changed
+1 -1
+1 -1
View File
@@ -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);