~ubuntu-branches/ubuntu/saucy/nginx/saucy-updates

« back to all changes in this revision

Viewing changes to src/os/unix/ngx_freebsd_sendfile_chain.c

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Kartik Mistry
  • Date: 2011-09-26 10:17:04 UTC
  • mfrom: (4.2.38 sid)
  • Revision ID: package-import@ubuntu.com-20110926101704-x8pxngiujrmkxnn3
Tags: 1.1.4-2
[Kartik Mistry]
* debian/modules:
  + Updated nginx-upload-progress module, Thanks to upstream for fixing issue
    that FTBFS nginx on kFreeBSD-* archs.
  + Updated nginx-lua module to latest upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
/*
13
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
15
 * FreeBSD 5.3.  Besides, over the fast ethernet connection sendfile()
16
16
 * may send the partially filled packets, i.e. the 8 file pages may be sent
17
17
 * as the 11 full 1460-bytes packets, then one incomplete 324-bytes packet,