| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-04-27 | Win32: shared memory base addresses and remapping. | Maxim Dounin | 3 | -2/+84 | |
| Two mechanisms are implemented to make it possible to store pointers in shared memory on Windows, in particular on Windows Vista and later versions with ASLR: - The ngx_shm_remap() function added to allow remapping of a shared memory zone to the address originally used for it in the master process. While important, it doesn't solve the problem by itself as in many cases it's not possible to use the address because of conflicts with other allocations. - We now create mappings at the same address in all processes by starting mappings at predefined addresses normally unused by newborn processes. These two mechanisms combined allow to use shared memory on Windows almost without problems, including reloads. Based on the patch by Sergey Brester: http://mailman.nginx.org/pipermail/nginx-devel/2015-April/006836.html | |||||
| 2015-04-23 | Removed the "worker_rlimit_sigpending" directive. | Ruslan Ermilov | 1 | -13/+0 | |
| It was only needed by the just removed rtsig module. | |||||
| 2015-04-23 | Removed the obsolete rtsig module. | Ruslan Ermilov | 3 | -41/+0 | |
| 2015-04-22 | Removed the obsolete aio module. | Ruslan Ermilov | 6 | -405/+1 | |
| 2015-03-26 | Replaced the remaining NGX_OLD_THREADS check with NGX_WIN32. | Ruslan Ermilov | 1 | -2/+0 | |
| 2015-03-26 | Removed "worker_threads" and "thread_stack_size" directives. | Ruslan Ermilov | 3 | -41/+1 | |
| 2015-03-26 | Removed unused thread-local-storage code. | Ruslan Ermilov | 3 | -40/+0 | |
| 2015-03-26 | Removed ngx_threaded and related code. | Ruslan Ermilov | 2 | -2/+0 | |
| 2015-04-06 | Used the correct type for the AIO preload handler return value. | Valentin Bartenev | 1 | -2/+2 | |
| 2015-03-23 | Removed stub implementation of win32 mutexes. | Ruslan Ermilov | 2 | -62/+0 | |
| 2015-03-20 | Removed busy locks. | Ruslan Ermilov | 1 | -3/+0 | |
| 2015-03-20 | Removed unix ngx_threaded and related ngx_process_changes. | Ruslan Ermilov | 2 | -2/+0 | |
| 2015-03-20 | Removed old pthread implementation. | Ruslan Ermilov | 4 | -584/+0 | |
| 2015-03-20 | Removed old FreeBSD rfork() thread implementation. | Ruslan Ermilov | 5 | -965/+0 | |
| 2015-03-14 | Added support for offloading Linux sendfile() in thread pools. | Valentin Bartenev | 1 | -8/+183 | |
| 2015-03-14 | Added support for offloading read() in thread pools. | Valentin Bartenev | 2 | -0/+114 | |
| 2015-03-14 | Thread pools implementation. | Valentin Bartenev | 5 | -1/+384 | |
| 2015-03-04 | Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation. | Ruslan Ermilov | 4 | -12/+12 | |
| It's mostly dead code and the original idea of worker threads has been rejected. | |||||
| 2015-03-17 | Core: expose maximum values of time_t and ngx_int_t. | Ruslan Ermilov | 1 | -0/+2 | |
| These are needed to detect overflows. | |||||
| 2015-02-27 | Refactored ngx_linux_sendfile_chain() even more. | Valentin Bartenev | 1 | -46/+60 | |
| The code that calls sendfile() was cut into a separate function. This simplifies EINTR processing, yet is needed for the following changes that add threads support. | |||||
| 2015-02-11 | Refactored sendfile() AIO preload. | Valentin Bartenev | 4 | -47/+112 | |
| 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-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-12-24 | Fixed building with musl libc (ticket #685). | Maxim Dounin | 1 | -0/+2 | |
| 2014-11-19 | Style. | Valentin Bartenev | 1 | -2/+2 | |
| 2014-11-19 | Fixed type of sendfile() return value on Linux. | Valentin Bartenev | 1 | -6/+6 | |
| There was no real problem since the amount of bytes can be sent is limited by NGX_SENDFILE_MAXSIZE to less than 2G. But that can be changed in the future | |||||
| 2014-08-13 | Moved writev() handling code to a separate function. | Valentin Bartenev | 5 | -102/+60 | |
| 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 | 3 | -27/+10 | |
| No functional changes. | |||||
| 2014-08-13 | Moved the code for coalescing file buffers to a separate function. | Valentin Bartenev | 3 | -72/+9 | |
| 2014-11-19 | Refactored ngx_solaris_sendfilev_chain(). | Valentin Bartenev | 1 | -18/+7 | |
| Though ngx_solaris_sendfilev_chain() shouldn't suffer from the problem mentioned in d1bde5c3c5d2 since currently IOV_MAX on Solaris is 16, but this follows the change from 3d5717550371 in order to make the code look similar to other systems and potentially eliminates the problem in the future. | |||||
| 2014-10-07 | Introduced the ngx_output_chain_to_iovec() function. | Valentin Bartenev | 5 | -318/+170 | |
| 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 | 6 | -7/+7 | |
| No functional changes. | |||||
| 2014-08-13 | Events: introduced cancelable timers. | Valentin Bartenev | 2 | -0/+4 | |
| 2014-08-25 | Events: removed broken thread support from event timers. | Valentin Bartenev | 1 | -1/+0 | |
| It's mostly dead code. And the idea of thread support for this task has been deprecated. | |||||
| 2014-10-15 | Win32: made build-able with MinGW-w64 gcc. | Kouhei Sutou | 1 | -2/+35 | |
| 2014-10-28 | Core: added limit to recv_chain(). | Roman Arutyunyan | 5 | -15/+41 | |
| 2014-10-14 | Style. | Maxim Dounin | 1 | -1/+2 | |
| 2014-10-11 | Win32: suppressed warnings by "-Werror=sign-compare". | Kouhei Sutou | 1 | -2/+2 | |
| 2014-08-27 | Fixed counting of sent bytes in the send chain functions on EINTR. | Valentin Bartenev | 5 | -0/+5 | |
| 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-09-22 | Removed duplicate initialization of the "rev" variable. | Valentin Bartenev | 1 | -2/+0 | |
| 2014-08-13 | Generalized definitions of the number of preallocated iovec's. | Valentin Bartenev | 7 | -57/+24 | |
| No functional changes. | |||||
| 2014-08-13 | Reduced difference between the send chain functions. | Valentin Bartenev | 2 | -15/+11 | |
| No functional changes. This follows the change from ad137a80919f. | |||||
| 2014-08-13 | Merged implementations of ngx_readv_chain(). | Valentin Bartenev | 1 | -97/+9 | |
| There's no real need in two separate implementations, with and without kqueue support. | |||||
| 2014-08-13 | Removed the "complete" variable from various send chain functions. | Valentin Bartenev | 6 | -42/+11 | |
| 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 | 6 | -212/+7 | |
| 2014-08-13 | Fixed writev() debug log message in ngx_darwin_sendfile_chain(). | Valentin Bartenev | 1 | -1/+1 | |
| 2014-09-08 | Added ngx_init_setproctitle() return code check. | Maxim Dounin | 2 | -3/+5 | |
| The ngx_init_setproctitle() function, as used on systems without setproctitle(3), may fail due to memory allocation errors, and therefore its return code needs to be checked. Reported by Markus Linnala. | |||||
| 2014-09-01 | Events: removed broken thread support from posted events. | Valentin Bartenev | 2 | -12/+4 | |
| It's mostly dead code. And the idea of thread support for this task has been deprecated. | |||||
| 2014-08-01 | Core: exit on ngx_pnalloc() failure. | Piotr Sikora | 1 | -0/+4 | |
| Signed-off-by: Piotr Sikora <piotr@cloudflare.com> | |||||
| 2014-08-03 | Style: use ngx_free() instead of free(). | Tatsuhiko Kubo | 1 | -1/+1 | |
| 2014-07-28 | Bigger iovec buffer in ngx_readv_chain(). | Maxim Dounin | 1 | -1/+5 | |
| This helps to reduce likelyhood of memory allocations in ngx_readv_chain(), which are known to lead to noticeable effects in some cases, see http://mailman.nginx.org/pipermail/nginx/2014-July/044512.html. | |||||
