mirror of
https://github.com/nginx/nginx.git
synced 2025-01-09 07:33:09 -06:00
Stylistic change in checking the boolean expression.
This commit is contained in:
parent
bfe7be45b8
commit
51a2423633
@ -375,7 +375,7 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error)
|
||||
}
|
||||
}
|
||||
|
||||
if (r->lingering_close == 1) {
|
||||
if (r->lingering_close) {
|
||||
switch (error) {
|
||||
case NGX_HTTP_BAD_REQUEST:
|
||||
case NGX_HTTP_TO_HTTPS:
|
||||
|
Loading…
Reference in New Issue
Block a user