comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents 80f7156c2965
children 753f505670e0
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 10
11 11
12 /* 12 /*
13 * Although FreeBSD sendfile() allows to pass a header and a trailer, 13 * Although FreeBSD sendfile() allows to pass a header and a trailer,
14 * it can not send a header with a part of the file in one packet until 14 * it cannot send a header with a part of the file in one packet until
15 * FreeBSD 5.3. Besides, over the fast ethernet connection sendfile() 15 * FreeBSD 5.3. Besides, over the fast ethernet connection sendfile()
16 * may send the partially filled packets, i.e. the 8 file pages may be sent 16 * may send the partially filled packets, i.e. the 8 file pages may be sent
17 * as the 11 full 1460-bytes packets, then one incomplete 324-bytes packet, 17 * as the 11 full 1460-bytes packets, then one incomplete 324-bytes packet,
18 * and then again the 11 full 1460-bytes packets. 18 * and then again the 11 full 1460-bytes packets.
19 * 19 *