Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 4572:67653855682e
Fixed spelling in multiline C comments.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 03 Apr 2012 07:37:31 +0000 |
parents | 778ef9c3fd2d |
children | 089cc5154c1e |
comparison
equal
deleted
inserted
replaced
4571:2942a827da09 | 4572:67653855682e |
---|---|
16 * FreeBSD 5.3. Besides, over the fast ethernet connection sendfile() | 16 * FreeBSD 5.3. Besides, over the fast ethernet connection sendfile() |
17 * may send the partially filled packets, i.e. the 8 file pages may be sent | 17 * may send the partially filled packets, i.e. the 8 file pages may be sent |
18 * as the 11 full 1460-bytes packets, then one incomplete 324-bytes packet, | 18 * as the 11 full 1460-bytes packets, then one incomplete 324-bytes packet, |
19 * and then again the 11 full 1460-bytes packets. | 19 * and then again the 11 full 1460-bytes packets. |
20 * | 20 * |
21 * Threfore we use the TCP_NOPUSH option (similar to Linux's TCP_CORK) | 21 * Therefore we use the TCP_NOPUSH option (similar to Linux's TCP_CORK) |
22 * to postpone the sending - it not only sends a header and the first part of | 22 * to postpone the sending - it not only sends a header and the first part of |
23 * the file in one packet, but also sends the file pages in the full packets. | 23 * the file in one packet, but also sends the file pages in the full packets. |
24 * | 24 * |
25 * But until FreeBSD 4.5 turning TCP_NOPUSH off does not flush a pending | 25 * But until FreeBSD 4.5 turning TCP_NOPUSH off does not flush a pending |
26 * data that less than MSS, so that data may be sent with 5 second delay. | 26 * data that less than MSS, so that data may be sent with 5 second delay. |