view auto/headers @ 4434:80df7b82d3c9 stable-1.0

Merge r4336: 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.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 05 Feb 2012 12:42:36 +0000
parents 418c9f97bd01
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


ngx_include="unistd.h";      . auto/include
ngx_include="inttypes.h";    . auto/include
ngx_include="limits.h";      . auto/include
ngx_include="sys/filio.h";   . auto/include
ngx_include="sys/param.h";   . auto/include
ngx_include="sys/mount.h";   . auto/include
ngx_include="sys/statvfs.h"; . auto/include
ngx_include="crypt.h";       . auto/include