Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 6437:4df3d9fcdee8
Truncation detection in sendfile() on Linux.
This addresses connection hangs as observed in ticket #504, and
CPU hogs with "aio threads; sendfile on" as reported in the mailing list,
see http://mailman.nginx.org/pipermail/nginx-ru/2016-March/057638.html.
The alert is identical to one used on FreeBSD.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 15 Mar 2016 18:26:17 +0300 |
parents | 4ba91a4c66a3 |
children | f01ab2dbcfdc |