| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2013-07-12 | Events: support for EPOLLRDHUP (ticket #320). | Valentin Bartenev | 1 | -5/+13 | |
| Since Linux 2.6.17, epoll is able to report about peer half-closed connection using special EPOLLRDHUP flag on a read event. | |||||
| 2013-09-04 | Win32: MinGW GCC compatibility. | Maxim Dounin | 2 | -3/+3 | |
| Several warnings silenced, notably (ngx_socket_t) -1 is now checked on socket operations instead of -1, as ngx_socket_t is unsigned on win32 and gcc complains on comparison. With this patch, it's now possible to compile nginx using mingw gcc, with options we normally compile on win32. | |||||
| 2013-09-02 | Added the NGX_EBADF define. | Valentin Bartenev | 1 | -1/+1 | |
| 2013-08-20 | Format specifier fixes in error logging. | Sergey Kandaurov | 1 | -2/+2 | |
| 2013-04-16 | Events: backout eventport changes (r5172) for now. | Maxim Dounin | 1 | -8/+0 | |
| Evenport method needs more work. Changes in r5172, while being correct, introduce various new regressions with current code. | |||||
| 2013-04-12 | Events: fixed typos in two previous commits. | Valentin Bartenev | 2 | -2/+2 | |
| 2013-04-12 | Events: handle only active events in eventport. | Valentin Bartenev | 1 | -0/+8 | |
| We generate both read and write events if an error event was returned by port_getn() without POLLIN/POLLOUT, but we should not try to handle inactive events, they may even have no handler. | |||||
| 2013-04-12 | Events: protection from stale events in eventport and devpoll. | Valentin Bartenev | 2 | -2/+8 | |
| Stale write event may happen if read and write events was reported both, and processing of the read event closed descriptor. In practice this might result in "sendfilev() failed (134: ..." or "writev() failed (134: ..." errors when switching to next upstream server. See report here: http://mailman.nginx.org/pipermail/nginx/2013-April/038421.html | |||||
| 2013-01-25 | Events: fixed null pointer dereference with resolver and poll. | Ruslan Ermilov | 1 | -2/+2 | |
| A POLLERR signalled by poll() without POLLIN/POLLOUT, as seen on Linux, would generate both read and write events, but there's no write event handler for resolver events. A fix is to only call event handler of an active event. | |||||
| 2012-07-24 | Fixed compilation with -Wmissing-prototypes. | Ruslan Ermilov | 3 | -5/+52 | |
| 2012-04-03 | Fixed spelling in multiline C comments. | Ruslan Ermilov | 3 | -4/+4 | |
| 2012-01-18 | Copyright updated. | Maxim Konovalov | 11 | -0/+11 | |
| 2011-11-29 | Fixed AIO on Linux, broken in r4306. | Maxim Dounin | 1 | -10/+10 | |
| Events from eventfd do not have c->write set, and the stale event check added in r4306 causes null pointer dereference. | |||||
| 2011-11-22 | Protection from stale write events in epoll. | Maxim Dounin | 1 | -0/+12 | |
| Stale write event may happen if epoll_wait() reported both read and write events, and processing of the read event closed descriptor. Patch by Yichun Zhang (agentzh). | |||||
| 2011-09-20 | The "worker_aio_requests" directive. | Igor Sysoev | 1 | -3/+13 | |
| The default value is 32 AIO simultaneous requests per worker. Previously they were hardcoded to 1024, and it was too large, since Linux allocated them early on io_setup(), but not on request itself. So with default value of /proc/sys/fs/aio-max-nr equal to 65536 only 64 worker processes could be run simultaneously. 32 AIO requests are enough for modern disks even if server runs only 1 worker. | |||||
| 2011-09-16 | Fixing Linux AIO initiatialization: AIO operations are disabled if kernel | Igor Sysoev | 1 | -47/+82 | |
| does not support them. Previously worker just exited. | |||||
| 2011-09-16 | Fixing Linux AIO syscalls return value handling: | Igor Sysoev | 1 | -10/+11 | |
| syscall(2) uses usual libc convention, it returns -1 on error and sets errno. Obsolete _syscall(2) returns negative value of error. Thanks to Hagai Avrahami. | |||||
| 2011-04-23 | fix building by gcc 4.6 without --with-debug | Igor Sysoev | 1 | -10/+3 | |
| 2010-03-25 | *) introduce ngx_time_sigsafe_update() to update the error log time only | Igor Sysoev | 9 | -15/+15 | |
| *) change ngx_time_update() interface | |||||
| 2010-03-13 | *) use previously cached GMT offset value to update time from a signal handler | Igor Sysoev | 9 | -15/+15 | |
| *) change ngx_time_update() interface since there are no notification methods those return time | |||||
| 2010-03-12 | do not update time in the timer signal handler, | Igor Sysoev | 5 | -5/+5 | |
| since localtime_r() is not Async-Signal-Safe function | |||||
| 2009-11-23 | add NGX_PROCESS_HELPER process status | Igor Sysoev | 3 | -3/+3 | |
| 2009-08-28 | FreeBSD and Linux AIO support | Igor Sysoev | 1 | -0/+217 | |
| 2009-08-25 | *) move small declarations in appropriate places and delete the surplus | Igor Sysoev | 4 | -25/+2 | |
| header files *) delete insignificant comments | |||||
| 2009-08-25 | style fix | Igor Sysoev | 7 | -32/+6 | |
| 2009-06-02 | return NULL instead of NGX_CONF_ERROR on a create conf failure | Igor Sysoev | 5 | -5/+5 | |
| 2009-05-14 | style fix | Igor Sysoev | 1 | -2/+4 | |
| 2009-05-06 | divide select module into two modules: Unix and Win32 ones | Igor Sysoev | 2 | -137/+404 | |
| 2009-05-06 | make code clearer | Igor Sysoev | 1 | -2/+4 | |
| 2009-05-06 | test event type to prevent errors | Igor Sysoev | 1 | -0/+10 | |
| 2009-04-29 | try to repair the case "select ready != events" | Igor Sysoev | 1 | -1/+4 | |
| 2009-04-29 | ngx_select_repair_fd_sets() | Igor Sysoev | 1 | -0/+96 | |
| 2009-04-29 | delete useless debug log | Igor Sysoev | 1 | -10/+0 | |
| 2009-04-29 | style fix | Igor Sysoev | 1 | -6/+6 | |
| 2009-04-29 | handle Winsock select() WSAEINVAL | Igor Sysoev | 1 | -1/+15 | |
| 2008-06-23 | prepare to allow various number of connections in child processes | Igor Sysoev | 2 | -6/+3 | |
| 2008-05-22 | style fix | Igor Sysoev | 1 | -1/+1 | |
| 2008-03-13 | restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6 | Igor Sysoev | 2 | -1/+16 | |
| 2008-01-28 | fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7 | Igor Sysoev | 2 | -10/+4 | |
| 2007-12-10 | move condition declarations inside blocks where they are used | Igor Sysoev | 1 | -3/+2 | |
| 2007-12-03 | ngx_udp_recv() | Igor Sysoev | 2 | -0/+2 | |
| 2007-09-01 | NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT | Igor Sysoev | 1 | -5/+23 | |
| 2007-08-31 | use ev->log, because ev->data may be connection stub only | Igor Sysoev | 1 | -1/+1 | |
| 2007-08-29 | add guard code | Igor Sysoev | 1 | -13/+59 | |
| 2007-08-29 | fix comment | Igor Sysoev | 1 | -1/+1 | |
| 2007-08-29 | disable pair event on POLLREMOVE | Igor Sysoev | 1 | -0/+6 | |
| 2007-07-29 | make 64-bit ngx_int_t on 64-bit platforms | Igor Sysoev | 10 | -131/+150 | |
| 2007-07-11 | fix segfault when event port returns POLLERR without POLLIN or POLLOUT | Igor Sysoev | 1 | -0/+4 | |
| 2007-03-21 | fix building without --with-debug on Solaris | Igor Sysoev | 1 | -1/+1 | |
| 2007-03-06 | decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL | Igor Sysoev | 2 | -4/+4 | |
