Stylistic change in checking the boolean expression.
This commit is contained in:
parent
42477baeca
commit
dde4df380d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue