summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-06-07merge r3502:Igor Sysoev1-0/+3
use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks
2010-06-07merge r3498, r3499:Igor Sysoev1-0/+1
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 Sysoev3-10/+23
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-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 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 Sysoev1-34/+46
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 Sysoev2-16/+14
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 Sysoev2-4/+1
allow cross device temporary files atomic copying
2009-10-26merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:Igor Sysoev4-72/+125
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-05-08preserve Solaris binary hardware capabilitiesIgor Sysoev2-5/+8
2009-04-28introduce ngx_write_console() to support OEM code pagesIgor Sysoev1-0/+4
2009-04-27-p and --prefix=Igor Sysoev1-1/+1
2009-04-23ngx_path_separator()Igor Sysoev1-0/+2
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev2-2/+5
2009-04-21implement "-s signal" option for UnixIgor Sysoev3-9/+38
2009-04-18support attaching to an existent Win32 shared memoryIgor Sysoev1-4/+5
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 Sysoev1-3/+4
2009-04-08adopt NGX_FILE_TRUNCATE for win32Igor Sysoev1-1/+1
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 Sysoev1-0/+1
2009-03-30fix FreeBSD before 7 building, broken in r2616Igor Sysoev1-1/+1
2009-03-30introduce cache manager instead of cache cleanerIgor Sysoev1-17/+17
2009-03-30ngx_fs_bsize()Igor Sysoev6-0/+59
2009-03-23a prelimiary proxy cache supportIgor Sysoev2-40/+67
2009-03-06XFS on Linux does not set dirent.d_type,Igor Sysoev2-5/+18
therefore fallback to stat() if dirent.d_type is not set, this fixes slash after directory name in ngx_http_autoindex_module; the issue has been introduced in r2235
2009-02-23fix messageIgor Sysoev1-1/+1
2009-02-05AIX has no WCOREDUMP()Igor Sysoev1-0/+6
2008-12-25set send() slot for POSIX systemsIgor Sysoev1-1/+1
2008-12-17remove never used zero copy stuffIgor Sysoev3-9/+0
2008-12-10use ngx_ext_rename_file() for single file MOVEIgor Sysoev1-0/+1
2008-11-25ngx_strerror_r() style and size == 0 bug fixIgor Sysoev1-4/+6
2008-11-11the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 onlyIgor Sysoev1-19/+33
2008-11-11compatibility with glibc 2.3, warn_unused_result attribute for write()Igor Sysoev1-1/+11
2008-09-27$realpath_rootIgor Sysoev1-0/+2
2008-09-12disable directio for unaligned reads in LinuxIgor Sysoev2-9/+27
2008-09-05*) autoconfigure struct dirent capabilitiesIgor Sysoev3-39/+60
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and delete src/os/.../ngx_types.h
2008-09-05style fixIgor Sysoev1-5/+5
2008-08-30ngx_timezone_update()Igor Sysoev2-0/+45
2008-08-26fix build on Linux and Solaris introduced in r2200Igor Sysoev1-1/+9
2008-08-22fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCHIgor Sysoev1-1/+5
2008-08-15fix log messageIgor Sysoev1-0/+4
2008-08-04Solaris directio()Igor Sysoev1-0/+5