summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_pipe.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10Modules compatibility: compatibility with NGX_THREADS.Maxim Dounin1-1/+1
With this change it is now possible to load modules compiled without the "--with-threads" configure option into nginx binary compiled with it, and vice versa (if a module does not use thread-specific functions), assuming both use the "--with-compat" option.
2016-03-18Threads: writing via threads pools in event pipe.Maxim Dounin1-0/+10
The "aio_write" directive is introduced, which enables use of aio for writing. Currently it is meaningful only with "aio threads". Note that aio operations can be done by both event pipe and output chain, so proper mapping between r->aio and p->aio is provided when calling ngx_event_pipe() and in output filter. In collaboration with Valentin Bartenev.
2014-10-28Upstream: proxy_limit_rate and friends.Roman Arutyunyan1-0/+3
The directives limit the upstream read rate. For example, "proxy_limit_rate 42" limits proxy upstream read rate to 42 bytes per second.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-10-31Event pipe: reduced number of file buffers used.Maxim Dounin1-2/+0
If possible we now just extend already present file buffer in p->out chain instead of keeping ngx_buf_t for each buffer we've flushed to disk. This saves about 120 bytes of memory per buffer flushed to disk, and resolves high CPU usage observed in edge cases (due to coalescing these buffers on send).
2011-09-15Upstream: pipe length and input_filter_init in buffered mode.Maxim Dounin1-0/+1
As long as ngx_event_pipe() has more data read from upstream than specified in p->length it's passed to input filter even if buffer isn't yet full. This allows to process data with known length without relying on connection close to signal data end. By default p->length is set to -1 in upstream module, i.e. end of data is indicated by connection close. To set it from per-protocol handlers upstream input_filter_init() now called in buffered mode (as well as in unbuffered mode).
2007-10-2364-bit update lost in r1355Igor Sysoev1-1/+1
2007-10-14fix English grammarIgor Sysoev1-1/+1
2005-01-25nginx-0.1.16-RELEASE importrelease-0.1.16Igor Sysoev1-0/+1
*) Bugfix: if the response were transferred by chunks, then on the HEAD request the final chunk was issued. *) Bugfix: the "Connection: keep-alive" header were issued, even if the keepalive_timeout directive forbade the keep-alive use. *) Bugfix: the errors in the ngx_http_fastcgi_module caused the segmentation faults. *) Bugfix: the compressed response encrypted by SSL may not transferred complete. *) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK options, are not used for the unix domain sockets. *) Feature: the rewrite directive supports the arguments rewriting. *) Bugfix: the response code 400 was returned for the POST request with the "Content-Length: 0" header; the bug had appeared in 0.1.14.
2004-12-02nginx-0.1.11-RELEASE importrelease-0.1.11Igor Sysoev1-1/+1
*) Feature: the worker_priority directive. *) Change: both tcp_nopush and tcp_nodelay directives affect the transferred response. *) Bugfix: nginx did not call initgroups(). Thanks to Andrew Sitnikov and Andrei Nigmatulin. *) Change: now the ngx_http_autoindex_module shows the file size in the bytes. *) Bugfix: the ngx_http_autoindex_module returned the 500 error if the broken symlink was in a directory. *) Bugfix: the files bigger than 4G could not be transferred using sendfile. *) Bugfix: if the backend was resolved to several backends and there was an error while the response waiting then process may got caught in an endless loop. *) Bugfix: the worker process may exit with the "unknown cycle" message when the /dev/poll method was used. *) Bugfix: "close() channel failed" errors. *) Bugfix: the autodetection of the "nobody" and "nogroup" groups. *) Bugfix: the send_lowat directive did not work on Linux. *) Bugfix: the segmentation fault occurred if there was no events section in configuration. *) Bugfix: nginx could not be built on OpenBSD. *) Bugfix: the double slashes in "://" in the URI were converted to ":/".
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev1-1/+1
2004-09-28nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev1-0/+6
2004-06-18nginx-0.0.7-2004-06-18-10:09:25 importIgor Sysoev1-1/+1
2004-05-28nginx-0.0.3-2004-05-28-19:49:23 import; rename ngx_hunk_t to ngx_buf_tIgor Sysoev1-15/+16
2003-11-17nginx-0.0.1-2003-11-17-19:15:03 importIgor Sysoev1-3/+4
2003-11-05nginx-0.0.1-2003-11-05-20:03:41 importIgor Sysoev1-0/+2
2003-11-02nginx-0.0.1-2003-11-03-01:56:18 importIgor Sysoev1-4/+2
2003-10-31nginx-0.0.1-2003-10-31-10:10:36 importIgor Sysoev1-0/+1
2003-10-30nginx-0.0.1-2003-10-30-11:51:06 importIgor Sysoev1-0/+1
2003-10-29nginx-0.0.1-2003-10-29-11:30:44 importIgor Sysoev1-0/+4
2003-10-22nginx-0.0.1-2003-10-22-20:38:26 importIgor Sysoev1-1/+1
2003-10-22nginx-0.0.1-2003-10-22-11:05:29 importIgor Sysoev1-1/+5
2003-10-21nginx-0.0.1-2003-10-21-20:49:56 importIgor Sysoev1-0/+75