diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2011-12-11 16:30:42 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2011-12-11 16:30:42 +0000 |
| commit | ae0e919135b7e1e80167d09b5bd2fef7903f7659 (patch) | |
| tree | a5f390dae59ed792dc9140b68e4188ae7cb4e4a7 /src/mysql/ngx_http_mysql_test.c | |
| parent | 8d3ef1a3b320f786d06170d5831555aa3910de64 (diff) | |
| download | nginx-ae0e919135b7e1e80167d09b5bd2fef7903f7659.tar.gz nginx-ae0e919135b7e1e80167d09b5bd2fef7903f7659.tar.bz2 | |
Microoptimization of sendfile(2) usage under FreeBSD.
FreeBSD kernel checks headers/trailers pointer against NULL, not
corresponding count. Passing NULL if there are no headers/trailers
helps to avoid unneeded work in kernel, as well as unexpected 0 bytes
GIO in traces.
Diffstat (limited to 'src/mysql/ngx_http_mysql_test.c')
0 files changed, 0 insertions, 0 deletions
