diff options
author | Valentin Bartenev <vbart@nginx.com> | 2013-03-07 17:21:50 +0000 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2013-03-07 17:21:50 +0000 |
commit | a46a3ab68dfe8cb0432c7062fa6019c995ebbc6a (patch) | |
tree | 719cbbe6b4f36358601a4ff687e28f864dae354e /src/http/ngx_http_request.h | |
parent | 1e1b93b51f6a7c8b648e41288af5b84c3c4d3881 (diff) | |
download | nginx-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