mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
Stylistic change in checking the boolean expression.
This commit is contained in:
parent
bfe7be45b8
commit
51a2423633
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…
Add table
Add a link
Reference in a new issue