aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-03-07 17:21:50 +0000
committerValentin Bartenev <vbart@nginx.com>2013-03-07 17:21:50 +0000
commita46a3ab68dfe8cb0432c7062fa6019c995ebbc6a (patch)
tree719cbbe6b4f36358601a4ff687e28f864dae354e /src/http/ngx_http_request.h
parent1e1b93b51f6a7c8b648e41288af5b84c3c4d3881 (diff)
downloadnginx-a46a3ab68dfe8cb0432c7062fa6019c995ebbc6a.tar.gz
nginx-a46a3ab68dfe8cb0432c7062fa6019c995ebbc6a.zip
Create request object only after the first byte was received.
Previously, we always created an object and logged 400 (Bad Request) in access log if a client closed connection without sending any data. Such a connection was counted as "reading". Since it's common for modern browsers to behave like this, it's no longer considered an error if a client closes connection without sending any data, and such a connection will be counted as "waiting". Now, we do not log 400 (Bad Request) and keep memory footprint as small as possible.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions