handle_connection: make logic clearer when deciding whether to use connect/ssl
Michael
This commit is contained in:
parent
f08f0218af
commit
2beaac96d3
@ -1674,7 +1674,7 @@ send_error:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!connptr->connect_method || (connptr->upstream_proxy != NULL)) {
|
if (!(connptr->connect_method && (connptr->upstream_proxy == NULL))) {
|
||||||
if (process_server_headers (connptr) < 0) {
|
if (process_server_headers (connptr) < 0) {
|
||||||
if (connptr->error_variables)
|
if (connptr->error_variables)
|
||||||
send_http_error_message (connptr);
|
send_http_error_message (connptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user