Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-28 | Added (void) as we intentionally ignore returned values. | Maxim Dounin | |
Requested by Igor Sysoev. | |||
2011-11-23 | Unlock of shared memory zones on process crash. | Maxim Dounin | |
If process exited abnormally while holding lock on some shared memory zone - unlock it. It may be not safe thing to do (as crash with lock held may result in corrupted shared memory structure, and other processes will subsequently crash while trying to access shared data), therefore complain loudly if unlock succeeds. | |||
2011-11-23 | Added shmtx interface to forcibly unlock mutexes. | Maxim Dounin | |
It is currently used from master process on abnormal worker termination to unlock accept mutex (unlocking of accept mutex was broken in 1.0.2). It is expected to be used in the future to unlock other mutexes as well. Shared mutex code was rewritten to make this possible in a safe way, i.e. with a check if lock was actually held by the exited process. We again use pid to lock mutex, and use separate atomic variable for a count of processes waiting in sem_wait(). | |||
2011-11-18 | FreeBSD 10-current has recently gotten POSIX_FADV_* macros. | Maxim Konovalov | |
A fix for the broken build applied. Patch from Igor Sysoev. | |||
2011-11-14 | Introduction of simple ngx_write_stderr() instead of ngx_log_stderr() | Igor Sysoev | |
for output of ./configure options, etc., since ngx_log_stderr() output length is limited by 2048 characters defined as NGX_MAX_ERROR_STR. | |||
2011-10-25 | Fixed range checking for the "somaxconn" sysctl. | Ruslan Ermilov | |
2011-10-24 | malloc() debugging on MacOSX. | Igor Sysoev | |
2011-10-21 | Fixed another return in unix ngx_write_chain_to_file(). | Maxim Dounin | |
Previous patch missed special case for one iovec, it needs total bytes written to be returned as well. | |||
2011-10-20 | Fixed unix ngx_write_chain_to_file() to return total bytes written. | Maxim Dounin | |
Previously result of last iteration's writev() was returned. This was unnoticed as return value was only used if chain contained only one or two buffers. | |||
2011-10-20 | Fixing conflict with SDK off_t definition. | Igor Sysoev | |
2011-10-20 | Recent SDKs allow to build IPV6 only for Windows XP or above. | Igor Sysoev | |
2011-09-19 | Replaced "can not" with "cannot" and "could not" in a bunch of places. | Ruslan Ermilov | |
Fixed nearby grammar errors. | |||
2011-09-16 | Fixing Linux AIO syscalls return value handling: | Igor Sysoev | |
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-09-13 | In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library | Ruslan Ermilov | |
in favour of their CommonCrypto library. This change adds a work-around that allows nginx to still be built on Lion with OpenSSL. | |||
2011-09-05 | Bugfix: open_file_cache lost is_directio flag. | Maxim Dounin | |
On file retest open_file_cache lost is_directio if file wasn't changed. This caused unaligned operations under Linux to fail with EINVAL. It wasn't noticeable with AIO though, as errors wasn't properly logged. | |||
2011-08-22 | SIGWINCH/NOACCEPT signal is disabled now in non-daemon mode. | Igor Sysoev | |
Non-daemon mode is currently used by supervisord, daemontools and so on or during debugging. The NOACCEPT signal is only used for online upgrade which is not supported when nginx is run under supervisord, etc., so this change should not break existant setups. | |||
2011-08-22 | Fix buffer overrun under Windows. | Maxim Dounin | |
2011-08-21 | Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure. | Maxim Dounin | |
NetBSD 5.0+ has SO_ACCEPTFILTER support merged from FreeBSD, and having accept filter check in FreeBSD-specific ngx_freebsd_config.h prevents it from being used on NetBSD. Therefore move the check into configure (and do the same for Linux-specific TCP_DEFER_ACCEPT, just to be in line). | |||
2011-07-24 | elimination of reading cache files by cache loader | Igor Sysoev | |
2011-05-16 | "$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module | Igor Sysoev | |
patch by Maxim Dounin | |||
2011-05-10 | use POSIX semaphores in shmtx instead of sched_yield() | Igor Sysoev | |
number of spinlock spins are increased twice | |||
2011-04-23 | revert r3864, it may cause kernel panic on some kernels while working with IPv6 | Igor Sysoev | |
2011-04-22 | Use more precise stat.st_blocks to account cache size on Unix | Igor Sysoev | |
instead of file length rounded to a file system block size. There is no similar way on Windows, so rounding to a cache->bsize is kept. | |||
2011-02-17 | use backlog -1 on Linux | Igor Sysoev | |
thanks to Andrei Nigmatulin | |||
2011-02-11 | set current atime while setting mtime | Igor Sysoev | |
patch by Andrei Nigmatulin | |||
2011-01-20 | use SwitchToThread() instead of Sleep(0), because the later | Igor Sysoev | |
may not yield control, if there is no thread with higher priority | |||
2010-12-13 | allow "env" to work in the single process mode | Igor Sysoev | |
2010-11-29 | allocate last zero byte in ngx_crypt() | Igor Sysoev | |
2010-11-25 | use copied strerror() messages and autoconfigured sys_nerr value | Igor Sysoev | |
2010-11-25 | Linux accept4() support | Igor Sysoev | |
2010-10-12 | update event flags after successful io_submit() | Igor Sysoev | |
2010-09-15 | worker_rlimit_core should be off_t | Igor Sysoev | |
2010-09-02 | add "Global\" prefix for signal events | Igor Sysoev | |
2010-07-08 | fix typo | Igor Sysoev | |
2010-07-08 | style fix | Igor Sysoev | |
2010-07-05 | fix building by owc12: GetLongPathName() is available since Win2K only | Igor Sysoev | |
2010-07-04 | HP/UX uses EWOULDBLOCK instead of EAGAIN | Igor Sysoev | |
2010-06-30 | fix ngx_write_file() buf | Igor Sysoev | |
2010-06-29 | ngx_create_file_mapping() | Igor Sysoev | |
2010-06-23 | style fix | Igor Sysoev | |
2010-06-14 | do not free() stack allocated buffer | Igor Sysoev | |
2010-04-22 | use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks | Igor Sysoev | |
2010-04-21 | use non-blocking open() not to hang on FIFO files, etc. | Igor Sysoev | |
2010-03-26 | use "rep; nop" instead of "pause" on Solaris/amd64 | Igor Sysoev | |
2010-03-25 | *) introduce ngx_time_sigsafe_update() to update the error log time only | Igor Sysoev | |
*) change ngx_time_update() interface | |||
2010-03-13 | *) use previously cached GMT offset value to update time from a signal handler | Igor Sysoev | |
*) change ngx_time_update() interface since there are no notification methods those return time | |||
2010-03-12 | use sys_errlist[] in signal handler instead | Igor Sysoev | |
of non Async-Signal-Safe strerror_r() | |||
2010-03-03 | compare long file names in case-insensitive mode, | Igor Sysoev | |
the bug had been introduced in r3418 | |||
2010-01-28 | disable Win32 short file names | Igor Sysoev | |
2009-12-22 | fix building by gcc 4.x with -O2/3/s in some Linux distributions: | Igor Sysoev | |
dereferencing type-punned pointer will break strict-aliasing rules |