comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 5727:675bda8dcfdb

FreeBSD has migrated to Bugzilla.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 19 Jun 2014 13:55:59 +0400
parents 188481078faf
children f9c83484d9ce
comparison
equal deleted inserted replaced
5726:25ade23cf281 5727:675bda8dcfdb
263 hdtr.trailers = trailer.nelts ? (struct iovec *) trailer.elts: NULL; 263 hdtr.trailers = trailer.nelts ? (struct iovec *) trailer.elts: NULL;
264 hdtr.trl_cnt = trailer.nelts; 264 hdtr.trl_cnt = trailer.nelts;
265 265
266 /* 266 /*
267 * the "nbytes bug" of the old sendfile() syscall: 267 * the "nbytes bug" of the old sendfile() syscall:
268 * http://www.freebsd.org/cgi/query-pr.cgi?pr=33771 268 * http://bugs.freebsd.org/33771
269 */ 269 */
270 270
271 if (!ngx_freebsd_sendfile_nbytes_bug) { 271 if (!ngx_freebsd_sendfile_nbytes_bug) {
272 header_size = 0; 272 header_size = 0;
273 } 273 }