| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-03-21 | Core: read/write locks. | Ruslan Ermilov | 3 | -0/+134 | |
| 2015-04-16 | Fixed build, broken by 8b7f062a3fe6. | Ruslan Ermilov | 1 | -1/+2 | |
| Casting a "const char *" to "char *" doesn't work on older gcc versions. | |||||
| 2015-04-16 | Core: added OpenSSL version information to "nginx -V" output. | Vladimir Homutov | 1 | -5/+16 | |
| 2015-04-16 | Version bump. | Vladimir Homutov | 1 | -2/+2 | |
| 2015-03-26 | Core: guard against spinlock usage without atomic ops. | Ruslan Ermilov | 1 | -1/+1 | |
| The new thread pools code uses spinlocks. | |||||
| 2015-04-07 | Core: limited levels of subdirectory hierarchy used for temp files. | Sergey Kandaurov | 1 | -0/+4 | |
| Similar to ngx_http_file_cache_set_slot(), the last component of file->name with a fixed length of 10 bytes, as generated in ngx_create_temp_path(), is used as a source for the names of intermediate subdirectories with each one taking its own part. Ensure that the sum of specified levels with slashes fits into the length (ticket #731). | |||||
| 2015-04-07 | Core: removed excessive initialization in ngx_conf_set_path_slot(). | Sergey Kandaurov | 1 | -4/+0 | |
| Level hierarchy is pre-zeroed in ngx_pcalloc() of the surrounding ngx_path_t. | |||||
| 2015-04-07 | Core: fixed error handling on ngx_conf_full_name() failure. | Sergey Kandaurov | 1 | -1/+1 | |
| 2015-03-26 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 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 | 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 | 1 | -10/+0 | |
| 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 ngx_connection_t.lock. | Ruslan Ermilov | 2 | -16/+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-14 | Added support for offloading Linux sendfile() in thread pools. | Valentin Bartenev | 1 | -0/+4 | |
| 2015-03-14 | Added support for offloading read() in thread pools. | Valentin Bartenev | 3 | -10/+38 | |
| 2015-03-14 | Thread pools implementation. | Valentin Bartenev | 3 | -0/+671 | |
| 2015-03-04 | Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation. | Ruslan Ermilov | 7 | -12/+16 | |
| It's mostly dead code and the original idea of worker threads has been rejected. | |||||
| 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 | 1 | -0/+3 | |
| These are needed to detect overflows. | |||||
| 2015-03-04 | Log: use ngx_cpymem() in a couple of places, no functional changes. | Valentin Bartenev | 1 | -6/+3 | |
| 2015-02-24 | Core: fixed potential buffer overrun when initializing hash. | Maxim Dounin | 1 | -1/+1 | |
| Initial size as calculated from the number of elements may be bigger than max_size. If this happens, make sure to set size to max_size. Reported by Chris West. | |||||
| 2015-02-17 | Core: make ngx_connection_local_sockaddr() always assign address. | Roman Arutyunyan | 1 | -17/+17 | |
| Previously, this function checked for connection local address existence and returned error if it was missing. Now a new address is assigned in this case making it possible to call this function not only for accepted connections. | |||||
| 2015-02-11 | Unbreak building on FreeBSD without file AIO. | Valentin Bartenev | 1 | -1/+1 | |
| It appeared that the NGX_HAVE_AIO_SENDFILE macro was defined regardless of the "--with-file-aio" configure option and the NGX_HAVE_FILE_AIO macro. Now they are related. Additionally, fixed one macro. | |||||
| 2015-02-11 | Refactored sendfile() AIO preload. | Valentin Bartenev | 3 | -2/+35 | |
| This reduces layering violation and simplifies the logic of AIO preread, since it's now triggered by the send chain function itself without falling back to the copy filter. The context of AIO operation is now stored per file buffer, which makes it possible to properly handle cases when multiple buffers come from different locations, each with its own configuration. | |||||
| 2015-02-11 | Version bump. | Ruslan Ermilov | 1 | -2/+2 | |
| 2015-02-10 | Core: fixed build on Tru64 UNIX. | Sergey Kandaurov | 1 | -1/+1 | |
| There was a typo in NGX_EACCES. Reported by Goetz T. Fischer. | |||||
| 2015-02-04 | Core: fixed a race resulting in extra sem_post()'s. | Roman Arutyunyan | 1 | -1/+2 | |
| The mtx->wait counter was not decremented if we were able to obtain the lock right after incrementing it. This resulted in unneeded sem_post() calls, eventually leading to EOVERFLOW errors being logged, "sem_post() failed while wake shmtx (75: Value too large for defined data type)". To close the race, mtx->wait is now decremented if we obtain the lock right after incrementing it in ngx_shmtx_lock(). The result can become -1 if a concurrent ngx_shmtx_unlock() decrements mtx->wait before the added code does. However, that only leads to one extra iteration in the next call of ngx_shmtx_lock(). | |||||
| 2015-02-02 | Core: reverted prefix-based temp files (a9138c35120d). | Roman Arutyunyan | 2 | -21/+8 | |
| The use_temp_path http cache feature is now implemented using a separate temp hierarchy in cache directory. Prefix-based temp files are no longer needed. | |||||
| 2015-02-02 | Core: supported directory skipping in ngx_walk_tree(). | Roman Arutyunyan | 1 | -1/+9 | |
| If pre_tree_handler() returns NGX_DECLINED, the directory is ignored. | |||||
| 2015-01-28 | Fixed AIO handling in the output chain. | Valentin Bartenev | 1 | -2/+6 | |
| The ctx->aio flag must be taken into account in the short path too. | |||||
| 2015-01-27 | A bounds check of %N format on Windows. | Igor Sysoev | 1 | -1/+5 | |
| Thanks to Joe Bialek, Adam Zabrocki and Microsoft Vulnerability Research. | |||||
| 2015-01-13 | Core: added disk_full_time checks to error log. | Maxim Dounin | 2 | -4/+23 | |
| 2014-12-26 | Core: added prefix-based temporary files. | Valentin Bartenev | 2 | -8/+21 | |
| Now, if the "path" parameter is NULL, ngx_create_temp_file() will use file->name as a predefined file path prefix. | |||||
| 2014-12-26 | Unified handling of ngx_create_temp_file() return value. | Valentin Bartenev | 1 | -1/+1 | |
| The original check for NGX_AGAIN was surplus, since the function returns only NGX_OK or NGX_ERROR. Now it looks similar to other places. No functional changes. | |||||
| 2014-12-24 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2014-12-12 | Autoindex: implemented JSON output format. | Valentin Bartenev | 2 | -0/+53 | |
| 2014-12-04 | Version bump. | Maxim Dounin | 1 | -2/+2 | |
| 2014-11-28 | Typo. | Maxim Dounin | 1 | -1/+1 | |
| 2014-11-20 | Syslog: allowed underscore symbol in tag (ticket #667). | Vladimir Homutov | 1 | -2/+3 | |
