comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 4246:d3568507db51 stable-1.0

Merging r4132, r4134, r4143, r4183, r4191, r4199: Various fixes related to error messages: *) Removed old warning that suggested to use "server_name_in_redirect off" (now the default) in place of no longer supported "server_name *". *) Fixing directive name in error message if types hash size is not enough. *) Replaced "can not" with "cannot" and "could not" in a bunch of places. Fixed nearby grammar errors. *) Overhauled error messages.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Nov 2011 13:24:50 +0000
parents 10bfdd8d5eb9
children 1003326eccc5
comparison
equal deleted inserted replaced
4245:8d39230df833 4246:d3568507db51
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 *