Igor Sysoev
89d635fa5d
GCC 4.1 builtin atomic operations
2009-11-25 17:34:35 +00:00
Igor Sysoev
72db760eca
add NGX_PROCESS_HELPER process status
2009-11-23 15:46:21 +00:00
Igor Sysoev
93da565962
fix building without --with-debug, introduced in r3328
2009-11-16 16:00:52 +00:00
Igor Sysoev
3e1a05c467
add alignment in debug log
2009-11-16 12:46:05 +00:00
Igor Sysoev
700a779824
fix posix_fadvise() error handling
2009-11-15 09:16:58 +00:00
Igor Sysoev
b13029c57c
update allocation error messages
2009-11-15 09:03:08 +00:00
Igor Sysoev
fc514f1d07
fix posix_memalign() error handling
2009-11-15 08:56:40 +00:00
Igor Sysoev
9eadbde324
fix building without --with-debug, introduced in r3294
2009-11-11 12:32:06 +00:00
Igor Sysoev
8b620a8a97
delete useless statement
2009-11-05 17:09:02 +00:00
Igor Sysoev
4121aa3440
export aio presence knowledge to prevent using "aio sendfile",
...
if aio does not present
2009-11-05 13:12:30 +00:00
Igor Sysoev
9b67ca0e41
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.
2009-11-04 19:41:08 +00:00
Igor Sysoev
1bc750da2f
use setproctitle("%s", title)
2009-11-03 16:28:21 +00:00
Igor Sysoev
f4b598b81b
fix "if (!-x ...)"
2009-11-03 14:57:27 +00:00
Igor Sysoev
19811dbdde
style fix
2009-11-02 12:41:56 +00:00
Igor Sysoev
baf8e409ba
http listen unix domain sockets
2009-10-26 11:43:32 +00:00
Igor Sysoev
e58700d3b0
*) 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
2009-10-14 11:33:35 +00:00
Igor Sysoev
3266171fd4
read_ahead
2009-09-30 13:21:52 +00:00
Igor Sysoev
29e7d8cc73
use parents around NGX_ATOMIC_T_LEN value
2009-09-25 20:25:47 +00:00
Igor Sysoev
48a28e2dad
uniform ngx_directio_on/off() interface with other file functions
2009-09-25 14:17:28 +00:00
Igor Sysoev
38a7faadfe
handle short pwrite() to log an error cause: ENOSPC, EDQUOT, or EFBIG
2009-09-25 13:55:46 +00:00
Igor Sysoev
f4d97e2472
log file name for read/write errors
2009-09-24 20:04:10 +00:00
Igor Sysoev
f0e12845a5
log offset passed to sendfile()
2009-09-04 09:53:09 +00:00
Igor Sysoev
2052077b93
small optimization
2009-09-04 09:50:58 +00:00
Igor Sysoev
bfff03406d
aio sendfile
2009-08-30 09:52:39 +00:00
Igor Sysoev
8c491a77bc
refactor EAGAIN/EINTR processing
2009-08-30 09:42:29 +00:00
Igor Sysoev
a962506498
FreeBSD and Linux AIO support
2009-08-28 08:12:35 +00:00
Igor Sysoev
450659e62a
twice termination delay only after SIGALRM, otherwise many separate SIGCHLD
...
and SIGIO signals quickly increase delay to the level when SIGKILL is sent
2009-08-26 15:12:28 +00:00
Igor Sysoev
31f6c5c55d
style fix
2009-08-26 15:09:09 +00:00
Igor Sysoev
9262c6138e
fix typo
2009-08-26 15:03:53 +00:00
Igor Sysoev
764c5eca29
ignore SIGSYS
2009-08-26 05:19:57 +00:00
Igor Sysoev
b71610eb09
*) move small declarations in appropriate places and delete the surplus
...
header files
*) delete insignificant comments
2009-08-25 09:09:13 +00:00
Igor Sysoev
3a58935936
*) share temporary number between workers
...
*) randomize collision offset
2009-08-21 09:06:35 +00:00
Igor Sysoev
c287a9811e
fix debug point for left open sockets
2009-08-13 08:40:25 +00:00
Igor Sysoev
c9538c069f
NGX_ENOPATH
2009-08-11 14:25:04 +00:00
Igor Sysoev
632a1922fa
delete mistaken sleep in the previous commit
2009-08-10 14:45:52 +00:00
Igor Sysoev
4413fad0db
cache loader process
2009-08-10 13:27:14 +00:00
Igor Sysoev
07b280a29f
introduce NGX_PROCESS_JUST_SPAWN and change field name accordingly
2009-08-10 13:07:15 +00:00
Igor Sysoev
eb5a64fdf2
style fix
2009-06-11 05:51:37 +00:00
Igor Sysoev
4318688cce
preserve Solaris binary hardware capabilities
2009-05-08 09:41:43 +00:00
Igor Sysoev
9d4a8d9111
introduce ngx_write_console() to support OEM code pages
2009-04-28 15:05:27 +00:00
Igor Sysoev
5ef370df40
-p and --prefix=
2009-04-27 11:32:33 +00:00
Igor Sysoev
bf14b000e6
ngx_path_separator()
2009-04-23 16:38:59 +00:00
Igor Sysoev
c28ff717cb
issue start up errors and warning on both stderr and error_log
2009-04-23 11:13:12 +00:00
Igor Sysoev
c8e9f26a57
implement "-s signal" option for Unix
2009-04-21 20:25:49 +00:00
Igor Sysoev
f7a08d5f9a
support attaching to an existent Win32 shared memory
2009-04-18 19:27:28 +00:00
Igor Sysoev
6ac68bcc4c
update c->sent in ngx_unix_send()
2009-04-18 19:13:53 +00:00
Igor Sysoev
c7f876bd4c
move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory
2009-04-16 19:25:09 +00:00
Igor Sysoev
2ec2e35efe
adopt NGX_FILE_TRUNCATE for win32
2009-04-08 19:03:41 +00:00
Igor Sysoev
c919d3178a
autoconfigure crypt_r(): uclibc has no crypt_r()
2009-04-02 13:46:39 +00:00
Igor Sysoev
76f42ca21a
fix OpenBSD building, broken in r2616
2009-04-02 13:44:32 +00:00