summaryrefslogtreecommitdiffhomepage
path: root/src/os (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2010-06-15merge r3615:Igor Sysoev1-1/+0
do not free() stack allocated buffer
2010-06-07merge r3502:Igor Sysoev2-0/+7
use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks
2010-06-07merge r3498, r3499:Igor Sysoev2-0/+2
opening files fixes: *) use non-blocking open() not to hang on FIFO files, etc. *) do not log misleading errno in "not a regular file" error
2010-06-07merge r3473, r3474, r3385, r3386, r3537:Igor Sysoev5-18/+31
signal processing stability: *) use sys_errlist[] in signal handler instead of non Async-Signal-Safe strerror_r() *) do not update time in the timer signal handler, since localtime_r() is not Async-Signal-Safe function *) use previously cached GMT offset value to update time from a signal handler *) change ngx_time_update() interface since there are no notification methods those return time *) introduce ngx_time_sigsafe_update() to update the error log time only *) change ngx_time_update() interface
2010-06-07merge r3459, r3571:Igor Sysoev3-1/+5
Win32 fixes: *) compare long file names in case-insensitive mode, the bug had been introduced in r3436 *) test default NTFS stream "::$DATA"
2010-02-01merge r3294, r3305:Igor Sysoev1-2/+12
Fix a bug introduced in r2032: After a child process has read a terminate message from a channel, the process tries to read the channel again. The kernel (at least FreeBSD) may preempt the process and sends a SIGIO signal to a master process. The master process sends a new terminate message, the kernel switches again to the the child process, and the child process reads the messages instead of an EAGAIN error. And this may repeat over and over. Being that the child process can not exit the cycle and test the termination flag set by the message handler. The fix disallow the master process to send a new terminate message on SIGIO signal reception. It may send the message only on SIGALARM signal.
2010-02-01merge r3137, r3198, r3199, r3353, r3370, r3371, r3398, r3399:Igor Sysoev1-2/+2
cache related fixes: *) do not pass buf with empty cached response, this fixes "zero size buf in output" alert *) hide cacheable Set-Cookie and P3P FastCGI response headers *) test comma separator in "Cache-Control" *) a cache manager thread handle was overwritten by a cache loader thread handle, this caused an exit delay, the bug had been introduced in r3248 *) fix handling cached HTTP/0.9 response *) log proxied HTTP/0.9 responses status as "009" *) fix the "If-None-Match" header name *) fix a cached zero-length body case
2010-02-01merge r3286:Igor Sysoev1-1/+1
use setproctitle("%s", title)
2010-02-01merge r3282:Igor Sysoev1-1/+1
fix "if (!-x ...)"
2010-02-01merge r3138, r3139, r3157, r3158, r3159, r3164, r3165,Igor Sysoev3-157/+145
r3202, r3203, r3383, r3388, r3417, r3418: Win32 (mostly) and some Unix file related fixes: *) preserve errno while ngx_free() *) win32 ngx_file_info() utf8 support *) delete Win95 code *) log file name for read/write errors *) test incomplete WriteFile() *) handle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG *) uniform ngx_directio_on/off() interface with other file functions *) do not create Win32 drive letter in ngx_create_full_path() *) ignore EACCES errors for top level directories in ngx_create_full_path() *) fix Win32 error messages when an temporary file replaces an existent file: *) do not rename an already renamed file *) now ngx_win32_rename_file() returns error code *) do not log failure inside ngx_win32_rename_file() *) fix Win32 error message when an temporary file replaces an existent file: return at once if ngx_win32_rename_file() was not failed and do not try to delete already the renamed temporary file *) skip URI trailing spaces under Win32 *) disable Win32 short file names
2010-02-01merge r3201, r3204, r3411:Igor Sysoev4-18/+16
ngx_http_autoindex_module fixes: *) reset cached dirent.d_type after stat() this fixes slash after link to a directory in ngx_http_autoindex_module; *) use cached dirent.d_type as hint on all systems the issues has been introduced in r2235 *) fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string
2009-11-16r3141 merge:Igor Sysoev1-2/+6
fix posix_memalign() error handling
2009-10-26merge r3024, r3025, r3028, r3033, r3034, r3035, r3036:Igor Sysoev4-8/+2
allow cross device temporary files atomic copying
2009-10-26merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:Igor Sysoev7-80/+166
cache management fixes: *) separate cache loader process *) use real file cache length, this fixes cache size counting for responses without "Content-Length" header and 304 responses.
2009-10-26merge r2920, r2934, r3116, r3119:Igor Sysoev1-6/+6
style fixes
2009-09-07merge r3047, r3048, r3049:Igor Sysoev3-4/+9
twice termination delay only after SIGALRM, otherwise many separate SIGCHLD and SIGIO signals quickly increase delay to the level when SIGKILL is sent
2009-09-07merge r2980, r2981, r2982:Igor Sysoev1-0/+1
win32 fixes: *) ngx_http_set_exten() is always successful since 0.3.46 *) skip URI trailing dots under Win32 *) use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin
2009-09-07merge r2975:Igor Sysoev1-1/+7
handle Win32 ReadFile() EOF state in Unix way
2009-06-15merge r2897, r2898, r2899, r2901, r2902, r2904, r2905, r2906, r2907,Igor Sysoev4-29/+65
r2909, r2910, r2922, r2923, r2924, r2925, r2929: various win32 fixes: *) use no-threads for Unix builds only *) Win32 returns ERROR_PATH_NOT_FOUND instead of ERROR_FILE_NOT_FOUND *) add trailing zero to a file name in ngx_win32_rename_file() *) fix logging in ngx_win32_rename_file() *) allow shared memory segments more than 4G *) fix memory leak in successful case *) log shared memory name in failure case *) test that zone has the same addresses in different processes *) add drive letter for Win32 root path *) log GetExitCodeProcess()'s errno *) test premature process termination *) fix debug logging *) exit if no workers could not be started *) do not quit old workers if no new workers could not be started *) a signaller process should stop configuration processing just after it is able to get pid file, this allows to not open log files, etc. *) win32 master process had aready closed listening sockets
2009-05-08reconfigure master processIgor Sysoev1-0/+8
2009-05-08preserve Solaris binary hardware capabilitiesIgor Sysoev2-5/+8
2009-04-29uniform ngx_file_info() interface with ngx_fd_info()Igor Sysoev1-2/+2
2009-04-29style fixIgor Sysoev3-3/+9
2009-04-29fix the previous commitIgor Sysoev1-6/+15
2009-04-28fallback to neutral language in FormatMessage()Igor Sysoev1-6/+19
2009-04-28introduce ngx_write_console() to support OEM code pagesIgor Sysoev3-0/+22
2009-04-27it seems MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) returnsIgor Sysoev1-1/+1
ERROR_RESOURCE_LANG_NOT_FOUND for Russian locale
2009-04-27ngx_log_errno()Igor Sysoev1-18/+1
2009-04-27use ngx_vslprintf(), ngx_slprintf()Igor Sysoev1-5/+4
2009-04-27-p and --prefix=Igor Sysoev2-3/+2
2009-04-23pass command lines options to workersIgor Sysoev2-1/+3
2009-04-23ngx_path_separator()Igor Sysoev2-0/+4
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev5-4/+10
2009-04-22axe incomplete support of Winsock error descriptions on NTIgor Sysoev1-106/+2
2009-04-22use English only error descriptions in Win32 ngx_strerror_r()Igor Sysoev1-2/+1
2009-04-21implement "-s signal" option for UnixIgor Sysoev6-61/+47
2009-04-21style fix: remove trailing spacesIgor Sysoev2-2/+2
2009-04-21add 48x48 iconIgor Sysoev2-0/+55
2009-04-20Win32 master/workers modelIgor Sysoev15-361/+1551
2009-04-19fix Win32 ngx_gettimezone()Igor Sysoev1-3/+15
2009-04-18support attaching to an existent Win32 shared memoryIgor Sysoev5-20/+61
2009-04-18update c->sent in ngx_unix_send()Igor Sysoev1-0/+2
2009-04-16move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memoryIgor Sysoev3-14/+12
2009-04-08delete win32 ngx_file_append_mode() as we use reliableIgor Sysoev2-29/+0
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08adopt NGX_FILE_TRUNCATE for win32Igor Sysoev2-1/+2
2009-04-02autoconfigure crypt_r(): uclibc has no crypt_r()Igor Sysoev1-5/+0
2009-04-02fix OpenBSD building, broken in r2616Igor Sysoev1-0/+3
2009-04-01fix MacOSX building, broken in r2616Igor Sysoev1-0/+1
2009-03-31Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are setIgor Sysoev1-1/+1
without any other flags. On the other hand, Unix requires at least the write flag to be set together with O_APPEND.
2009-03-30win32 ngx_open_file() supports utf8 names and NGX_FILE_APPENDIgor Sysoev4-9/+116