| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-03-23 | Upstream: uwsgi_request_buffering, scgi_request_buffering. | Maxim Dounin | 2 | -2/+44 | |
| 2015-03-23 | FastCGI: fastcgi_request_buffering. | Maxim Dounin | 1 | -18/+342 | |
| 2015-03-23 | Proxy: proxy_request_buffering chunked support. | Maxim Dounin | 1 | -6/+216 | |
| 2015-03-23 | Request body: unbuffered reading. | Maxim Dounin | 8 | -25/+306 | |
| The r->request_body_no_buffering flag was introduced. It instructs client request body reading code to avoid reading the whole body, and to call post_handler early instead. The caller should use the ngx_http_read_unbuffered_request_body() function to read remaining parts of the body. Upstream module is now able to use this mode, if configured with the proxy_request_buffering directive. | |||||
| 2015-03-23 | Request body: filters support. | Maxim Dounin | 5 | -8/+22 | |
| 2015-03-23 | Request body: moved request body writing to save filter. | Maxim Dounin | 1 | -14/+8 | |
| 2015-03-23 | Request body: free chain links in ngx_http_write_request_body(). | Maxim Dounin | 1 | -2/+7 | |
| 2015-03-23 | Output chain: free chain links in ngx_chain_writer(). | Maxim Dounin | 1 | -4/+12 | |
| 2015-03-23 | Output chain: zero size buf alerts in ngx_chain_writer(). | Maxim Dounin | 1 | -1/+32 | |
| Now we log a "zero size buf in chain writer" alert if we encounter a zero sized buffer in ngx_chain_writer(), and skip the buffer. | |||||
| 2015-03-23 | Format specifier fixed for file size of buffers. | Maxim Dounin | 3 | -9/+9 | |
| 2015-03-23 | Proxy: fixed proxy_set_body with proxy_cache. | Maxim Dounin | 1 | -0/+1 | |
| If the last header evaluation resulted in an empty header, the e.skip flag was set and was not reset when we've switched to evaluation of body_values. This incorrectly resulted in body values being skipped instead of producing some correct body as set by proxy_set_body. Fix is to properly reset the e.skip flag. As the problem only appeared if the last potentially non-empty header happened to be empty, it only manifested itself if proxy_set_body was used with proxy_cache. | |||||
| 2015-03-23 | Thread pools: implemented graceful exiting of threads. | Valentin Bartenev | 1 | -3/+34 | |
| 2015-03-23 | Thread pools: removed unused pointer to memory pool. | Valentin Bartenev | 1 | -2/+0 | |
| No functional changes. | |||||
| 2015-03-23 | Thread pools: keep waiting tasks mutex in ngx_thread_pool_t. | Valentin Bartenev | 1 | -45/+20 | |
| It's not needed for completed tasks queue since the previous change. No functional changes. | |||||
| 2015-03-23 | Thread pools: replaced completed tasks queue mutex with spinlock. | Valentin Bartenev | 1 | -16/+5 | |
| 2015-03-23 | Removed stub implementation of win32 mutexes. | Ruslan Ermilov | 4 | -74/+0 | |
| 2015-03-23 | SSL: use of SSL_MODE_NO_AUTO_CHAIN. | Maxim Dounin | 1 | -0/+4 | |
| The SSL_MODE_NO_AUTO_CHAIN mode prevents OpenSSL from automatically building a certificate chain on the fly if there is no certificate chain explicitly provided. Before this change, certificates provided via the ssl_client_certificate and ssl_trusted_certificate directives were used by OpenSSL to automatically build certificate chains, resulting in unexpected (and in some cases unneeded) chains being sent to clients. | |||||
| 2015-03-23 | SSL: avoid SSL_CTX_set_tmp_rsa_callback() call with LibreSSL. | Maxim Dounin | 2 | -0/+4 | |
| LibreSSL removed support for export ciphers and a call to SSL_CTX_set_tmp_rsa_callback() results in an error left in the error queue. This caused alerts "ignoring stale global SSL error (...called a function you should not call) while SSL handshaking" on a first connection in each worker process. | |||||
| 2015-03-23 | SSL: clear protocol options. | Maxim Dounin | 1 | -0/+8 | |
| LibreSSL 2.1.1+ started to set SSL_OP_NO_SSLv3 option by default on new contexts. This makes sure to clear it to make it possible to use SSLv3 with LibreSSL if enabled in nginx config. Prodded by Kuramoto Eiji. | |||||
| 2015-03-19 | Core: added cyclic memory buffer support for error_log. | Valentin Bartenev | 1 | -0/+120 | |
| Example of usage: error_log memory:16m debug; This allows to configure debug logging with minimum impact on performance. It's especially useful when rare crashes are experienced under high load. The log can be extracted from a coredump using the following gdb script: set $log = ngx_cycle->log while $log->writer != ngx_log_memory_writer set $log = $log->next end set $buf = (ngx_log_memory_buf_t *) $log->wdata dump binary memory debug_log.txt $buf->start $buf->end | |||||
| 2015-03-20 | Removed busy locks. | Ruslan Ermilov | 8 | -795/+0 | |
| 2015-03-20 | Removed ngx_connection_t.lock. | Ruslan Ermilov | 5 | -27/+0 | |
| 2015-03-20 | Removed unix ngx_threaded and related ngx_process_changes. | Ruslan Ermilov | 14 | -100/+10 | |
| 2015-03-20 | Removed old pthread implementation. | Ruslan Ermilov | 5 | -634/+0 | |
| 2015-03-20 | Removed old FreeBSD rfork() thread implementation. | Ruslan Ermilov | 5 | -965/+0 | |
| 2015-03-19 | Thread pools: silence warning on process exit. | Ruslan Ermilov | 1 | -0/+7 | |
| Work around pthread_cond_destroy() and pthread_mutex_destroy() returning EBUSY. A proper solution would be to ensure all threads are terminated. | |||||
| 2015-03-19 | Thread pools: fixed the waiting tasks accounting. | Ruslan Ermilov | 1 | -7/+8 | |
| Behave like POSIX semaphores. If N worker threads are waiting for tasks, at least that number of tasks should be allowed to be put into the queue. | |||||
| 2015-03-19 | Thread pools: keep waiting tasks counter in ngx_thread_pool_t. | Ruslan Ermilov | 1 | -9/+7 | |
| It's not needed for completed tasks queue. No functional changes. | |||||
| 2015-03-15 | SPDY: fixed format specifier in logging. | Xiaochen Wang | 1 | -1/+1 | |
| 2015-03-14 | Added support for offloading Linux sendfile() in thread pools. | Valentin Bartenev | 2 | -8/+187 | |
| 2015-03-14 | Added support for offloading read() in thread pools. | Valentin Bartenev | 9 | -13/+311 | |
| 2015-03-14 | Events: implemented eventport notification mechanism. | Ruslan Ermilov | 1 | -1/+34 | |
| 2015-03-14 | Events: implemented kqueue notification mechanism. | Valentin Bartenev | 1 | -0/+76 | |
| 2015-03-14 | Events: implemented epoll notification mechanism. | Valentin Bartenev | 1 | -2/+139 | |
| 2015-03-14 | Thread pools implementation. | Valentin Bartenev | 20 | -2/+1070 | |
| 2015-03-04 | Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation. | Ruslan Ermilov | 19 | -35/+39 | |
| It's mostly dead code and the original idea of worker threads has been rejected. | |||||
| 2015-03-17 | Overflow detection in ngx_http_parse_chunked(). | Ruslan Ermilov | 1 | -4/+8 | |
| 2015-03-17 | Overflow detection in ngx_http_range_parse(). | Ruslan Ermilov | 1 | -1/+12 | |
| 2015-03-17 | Overflow detection in ngx_inet_addr(). | Ruslan Ermilov | 1 | -2/+6 | |
| 2015-03-17 | Core: overflow detection in ngx_parse_time() (ticket #732). | Ruslan Ermilov | 1 | -16/+37 | |
| 2015-03-17 | Refactored ngx_parse_time(). | Ruslan Ermilov | 1 | -3/+1 | |
| No functional changes. | |||||
| 2015-03-17 | Core: overflow detection in number parsing functions. | Ruslan Ermilov | 2 | -52/+72 | |
| 2015-03-17 | Core: expose maximum values of time_t and ngx_int_t. | Ruslan Ermilov | 2 | -0/+5 | |
| These are needed to detect overflows. | |||||
| 2015-03-13 | The "aio" directive parser made smarter. | Ruslan Ermilov | 2 | -27/+52 | |
| It now prints meaningful warnings on all platforms. No functional changes. | |||||
| 2015-03-12 | Events: fixed typo in the error message. | Ruslan Ermilov | 1 | -1/+1 | |
| 2015-03-12 | Deprecated "aio sendfile". | Ruslan Ermilov | 3 | -9/+4 | |
| Specifying "sendfile on" along with "aio on" activates the aio pre-loading mode for sendfile(). | |||||
| 2015-03-04 | Proxy: use an appropriate error on memory allocation failure. | Ruslan Ermilov | 1 | -1/+1 | |
| 2015-03-04 | Style: moved ngx_http_ephemeral() macro to ngx_http_request.h. | Ruslan Ermilov | 2 | -3/+3 | |
| 2015-03-04 | Style: use %*s format, as in 68d21fd1dc64. | Ruslan Ermilov | 1 | -8/+3 | |
| 2015-03-04 | Log: use ngx_cpymem() in a couple of places, no functional changes. | Valentin Bartenev | 1 | -6/+3 | |
