Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

[PATCH] use signed value when comparing timer with 0 and check lingering_time setting

$
0
0
In ngx_http_lingering_close_handler
and ngx_http_discarded_request_body_handler, there's risk
that r->lingering_time is smaller than ngx_time(), then comparing timer
which is a unsigned value with zero will never return true. This can cause
long time connection for some kind of requests (For example, lingering_time
is set smaller than lingering_timeout)
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>