| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-01-13 | Fixed sendfile() trailers on OS X (8e903522c17a, 1.7.8). | Maxim Dounin | 1 | -0/+3 | |
| The trailer.count variable was not initialized if there was a header, resulting in "sendfile() failed (22: Invalid argument)" alerts on OS X if the "sendfile" directive was used. The bug was introduced in 8e903522c17a (1.7.8). | |||||
| 2014-11-19 | Style. | Valentin Bartenev | 1 | -2/+2 | |
| 2014-08-13 | Moved writev() handling code to a separate function. | Valentin Bartenev | 1 | -24/+5 | |
| This reduces code duplication and unifies debug logging of the writev() syscall among various send chain functions. | |||||
| 2014-08-13 | Merged conditions in the ngx_*_sendfile_chain() functions. | Valentin Bartenev | 1 | -13/+10 | |
| No functional changes. | |||||
| 2014-08-13 | Moved the code for coalescing file buffers to a separate function. | Valentin Bartenev | 1 | -24/+3 | |
| 2014-10-07 | Introduced the ngx_output_chain_to_iovec() function. | Valentin Bartenev | 1 | -102/+24 | |
| It deduplicates code of the send chain functions and uses only preallocated memory, which completely solves the problem mentioned in d1bde5c3c5d2. | |||||
| 2014-11-19 | Renamed ngx_handle_sent_chain() to ngx_chain_update_sent(). | Valentin Bartenev | 1 | -1/+1 | |
| No functional changes. | |||||
| 2014-08-27 | Fixed counting of sent bytes in the send chain functions on EINTR. | Valentin Bartenev | 1 | -0/+1 | |
| Previously, a value of the "send" variable wasn't properly adjusted in a rare case when syscall was interrupted by a signal. As a result, these functions could send less data than the limit allows. | |||||
| 2014-08-13 | Generalized definitions of the number of preallocated iovec's. | Valentin Bartenev | 1 | -12/+5 | |
| No functional changes. | |||||
| 2014-08-13 | Removed the "complete" variable from various send chain functions. | Valentin Bartenev | 1 | -7/+2 | |
| It was made redundant by the previous change, since the "sent" variable is no longer modified. | |||||
| 2014-08-13 | Moved the code for adjusting sent buffers in a separate function. | Valentin Bartenev | 1 | -36/+1 | |
| 2014-08-13 | Fixed writev() debug log message in ngx_darwin_sendfile_chain(). | Valentin Bartenev | 1 | -1/+1 | |
| 2014-06-19 | FreeBSD has migrated to Bugzilla. | Sergey Kandaurov | 1 | -1/+1 | |
| 2013-08-08 | Don't lose pointer to first nonempty buf in ngx_*_sendfile_chain(). | Gleb Smirnoff | 1 | -16/+14 | |
| In ngx_*_sendfile_chain() when calculating pointer to a first non-zero sized buf, use "in" as iterator. This fixes processing of zero sized buf(s) after EINTR. Otherwise function can return zero sized buf to caller, and later ngx_http_write_filter() logs warning. | |||||
| 2012-04-17 | IOV_MAX handling microoptimization. | Maxim Dounin | 1 | -5/+11 | |
| We now stop on IOV_MAX iovec entries only if we are going to add new one, i.e. next buffer can't be coalesced into last iovec. This also fixes incorrect checks for trailer creation on FreeBSD and Mac OS X, header.nelts was checked instead of trailer.nelts. | |||||
| 2012-02-28 | Fixed spelling in single-line comments. | Ruslan Ermilov | 1 | -1/+1 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 1 | -0/+1 | |
| 2009-08-30 | refactor EAGAIN/EINTR processing | Igor Sysoev | 1 | -19/+21 | |
| 2008-07-30 | *) move Darwin support to separate files | Igor Sysoev | 1 | -0/+363 | |
| *) Darwin sendfile() support | |||||
