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

Michael
master
Michael Adam 2009-09-28 08:07:35 +02:00
parent f08f0218af
commit 2beaac96d3
1 changed files with 1 additions and 1 deletions

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);