Igor Sysoev
d4a71fb844
move listen log copying from ngx_open_listening_sockets()
...
to ngx_configure_listening_sockets(), otherwise listen socket logs have no file
after first reload and this caused segfault if debug_connection was used;
the bug has been introduced in r2786
2009-05-05 13:16:29 +00:00
Igor Sysoev
00bd137064
use correct name
2009-05-05 13:12:59 +00:00
Igor Sysoev
682414f352
use local variable
2009-05-05 13:05:42 +00:00
Igor Sysoev
a8da6c2ae6
delete never used ngx_ssl_set_nosendshut()
2009-05-04 19:51:32 +00:00
Igor Sysoev
6efa56fe7f
delete ngx_listening_inet_stream_socket()
2009-05-04 19:51:09 +00:00
Igor Sysoev
e7d99eff2c
bump version
2009-05-01 19:13:37 +00:00
Igor Sysoev
0cd76ea290
*) refactor error_log processing: listen socket log might inherit built-in
...
error_log with zero level, and r2447, r2466, r2467 were not enough
*) remove bogus "stderr" level
*) some functions and fields renames
2009-04-30 13:53:42 +00:00
Igor Sysoev
5461f39381
set of.failed for cached error, the bug has been introduced in r2757
2009-04-30 08:01:50 +00:00
Igor Sysoev
ef919756d9
uniform ngx_file_info() interface with ngx_fd_info()
2009-04-29 19:28:52 +00:00
Igor Sysoev
a70d086812
fix the previous commit
2009-04-29 13:07:16 +00:00
Igor Sysoev
dcc9205a39
Winsock uses ECONNABORTED instead of ECONNRESET
2009-04-29 11:34:58 +00:00
Igor Sysoev
341b8f67b9
fix building by BCC if NGX_PREFIX is defined
2009-04-29 11:32:58 +00:00
Igor Sysoev
ca6a9e0fdc
*) do not show line number for -g option
...
*) reset configuration file after -g option has been parsed
2009-04-28 20:06:03 +00:00
Igor Sysoev
9d4a8d9111
introduce ngx_write_console() to support OEM code pages
2009-04-28 15:05:27 +00:00
Igor Sysoev
2cc2893bc1
add prefix in Usage
2009-04-28 04:34:27 +00:00
Igor Sysoev
f67e0a4050
ngx_log_errno()
2009-04-27 13:17:33 +00:00
Igor Sysoev
e1c9746e37
use ngx_vslprintf(), ngx_slprintf()
2009-04-27 13:06:20 +00:00
Igor Sysoev
4e1fe03e03
ngx_vslprintf(), ngx_slprintf()
2009-04-27 12:51:33 +00:00
Igor Sysoev
8ec9a72295
bump version
2009-04-27 12:48:38 +00:00
Igor Sysoev
5ef370df40
-p and --prefix=
2009-04-27 11:32:33 +00:00
Igor Sysoev
f1cc457d7f
*) of.test_only to not open file if only stat() is enough
...
*) of.failed to return exact name of failed syscall
2009-04-27 09:55:53 +00:00
Igor Sysoev
0e60e4f73a
add quotes for configure options with spaces
2009-04-26 19:37:38 +00:00
Igor Sysoev
c27497da92
change ngx_log_abort() interface
2009-04-24 15:50:51 +00:00
Igor Sysoev
a3041ac931
style fix: (void)
2009-04-24 14:45:52 +00:00
Igor Sysoev
c134eb058d
change ngx_log_create_errlog() interface
2009-04-24 14:27:36 +00:00
Igor Sysoev
caf17102e8
pass command lines options to workers
2009-04-23 18:22:28 +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
ae2f2b105a
style fix: remove trailing spaces introduced in the previous commit
2009-04-23 09:46:14 +00:00
Igor Sysoev
eeed2e9b21
use ngx_str_t for error levels
2009-04-23 08:05:54 +00:00
Igor Sysoev
c8e9f26a57
implement "-s signal" option for Unix
2009-04-21 20:25:49 +00:00
Igor Sysoev
80ce3d4dd1
style fix: remove trailing spaces
2009-04-21 19:49:48 +00:00
Igor Sysoev
dc5ad52761
style fix: remove tabs
2009-04-21 19:38:02 +00:00
Igor Sysoev
59c393f393
add -? and -h options
2009-04-21 16:21:58 +00:00
Igor Sysoev
b77808cee0
allow condensed command lines options
2009-04-21 15:42:15 +00:00
Igor Sysoev
19a0e6e32e
fix r2731 for Win32
2009-04-21 15:40:40 +00:00
Igor Sysoev
f873e73b96
test command line options before ngx_log_init() and issue errors to stderr
2009-04-21 13:39:47 +00:00
Igor Sysoev
2f7f95381d
bump version
2009-04-20 13:29:38 +00:00
Igor Sysoev
bd91999ea5
Win32 master/workers model
2009-04-20 06:08:47 +00:00
Igor Sysoev
1153aa6465
show -t results on stderr
2009-04-19 16:06:09 +00:00
Igor Sysoev
f7a08d5f9a
support attaching to an existent Win32 shared memory
2009-04-18 19:27:28 +00:00
Igor Sysoev
61b7791486
fix building on platforms which have no atomic operations support,
...
the bug was introduced in r2564
2009-04-17 19:11:31 +00:00
Igor Sysoev
b072c3d647
fix the previous commit
2009-04-17 19:09:08 +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
5234b9c6a8
fix building by BCC without NGX_DEBUG_MALLOC
2009-04-15 19:44:41 +00:00
Igor Sysoev
57006fbb13
bump version
2009-04-15 06:25:02 +00:00
Igor Sysoev
b37316d7dd
style fix
2009-04-08 19:51:30 +00:00
Igor Sysoev
a2de7b9b93
delete win32 ngx_file_append_mode() as we use reliable
...
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08 19:13:28 +00:00
Igor Sysoev
2ec2e35efe
adopt NGX_FILE_TRUNCATE for win32
2009-04-08 19:03:41 +00:00
Igor Sysoev
4f1192651d
bump version
2009-04-06 13:42:56 +00:00
Igor Sysoev
d5ba36fdad
backout r2677 and fix ngx_strlcasestrn() again
2009-04-06 11:42:42 +00:00
Igor Sysoev
8d9e4c847d
bump version
2009-04-06 11:39:01 +00:00
Igor Sysoev
f3aed53c9d
fix ngx_strlcasestrn()
2009-04-06 10:38:40 +00:00
Igor Sysoev
e94b22b143
bump version
2009-04-06 10:37:53 +00:00
Igor Sysoev
a514d68bfb
ngx_strlcasestrn()
2009-04-04 17:31:54 +00:00
Igor Sysoev
508b1b5dfb
bump version
2009-04-02 13:44:02 +00:00
Igor Sysoev
24c2787163
Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set
...
without any other flags. On the other hand, Unix requires at least the write
flag to be set together with O_APPEND.
2009-03-31 13:52:01 +00:00
Igor Sysoev
fadc7a7e81
win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND
2009-03-30 14:51:51 +00:00
Igor Sysoev
0370ff015e
bump version
2009-03-30 12:09:52 +00:00
Igor Sysoev
4aedcc5f4d
bump version
2009-03-30 11:00:58 +00:00
Igor Sysoev
5fe3fb56e8
nginx_version
2009-03-30 07:48:53 +00:00
Igor Sysoev
19298ec1d3
introduce cache manager instead of cache cleaner
2009-03-30 07:45:55 +00:00
Igor Sysoev
7c6c186a7e
update cpuid for Core 2 and Atom
2009-03-28 12:43:41 +00:00
Igor Sysoev
a2c8d9a0a8
improve ngx_slab_alloc() error logging
2009-03-27 17:00:42 +00:00
Igor Sysoev
04fe40023a
delete old debugging and info
2009-03-27 16:37:39 +00:00
Igor Sysoev
565e1e436a
bump version
2009-03-23 15:56:46 +00:00
Igor Sysoev
52859f2f13
a prelimiary proxy cache support
2009-03-23 13:14:51 +00:00
Igor Sysoev
61818c47af
bump version
2009-03-18 14:40:21 +00:00
Igor Sysoev
8f13bccab4
bump version
2009-03-16 11:07:29 +00:00
Igor Sysoev
da0a5318f1
compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busy
2009-03-13 14:53:30 +00:00
Igor Sysoev
6d94b51f0b
ipv6only
2009-03-13 14:20:34 +00:00
Igor Sysoev
0bd7b00eb7
ignore EINVAL from setsockopt() on Solaris
2009-03-12 07:16:15 +00:00
Igor Sysoev
d9307664db
bump version
2009-03-12 07:12:25 +00:00
Igor Sysoev
da404fcfe5
bump version
2009-03-11 12:57:26 +00:00
Igor Sysoev
72cdf92a91
bump version
2009-03-05 08:22:45 +00:00
Igor Sysoev
d7b3b48f0e
fix the previous commit
2009-02-24 14:25:24 +00:00
Igor Sysoev
36860101ec
prepare ngx_ptocidr() for IPv6
2009-02-24 14:01:40 +00:00
Igor Sysoev
1f4220ee86
small optimization: " == NGX_ERROR" > " != NGX_OK"
2009-02-24 10:42:23 +00:00
Igor Sysoev
b5a17c727c
bump version
2009-02-23 21:02:18 +00:00
Igor Sysoev
8e1aa8ee9c
fix NGX_SOCKADDRLEN, introduced in r2513
2009-02-21 15:13:13 +00:00
Igor Sysoev
55a7aad835
bump version
2009-02-21 14:55:58 +00:00
Igor Sysoev
2bc44ea01a
fix upstream port, introduced in r2513
2009-02-21 14:34:32 +00:00
Igor Sysoev
5e988a4ec6
bump version
2009-02-21 09:44:57 +00:00
Igor Sysoev
a35eaccdec
a prelimiary IPv6 support, HTTP listen
2009-02-21 07:02:02 +00:00
Igor Sysoev
643607bb13
bump version
2009-02-16 14:55:10 +00:00
Igor Sysoev
134d1a67c5
fix r2169 for .def.com and .abc.def.com case
2009-02-11 12:33:13 +00:00
Igor Sysoev
540ce1957f
bump version
2009-02-11 10:23:06 +00:00
Igor Sysoev
f3d540a022
bump version
2009-02-05 15:47:12 +00:00
Igor Sysoev
9a5f4c74cf
fix building by msvc, introduced in r2487
2009-02-02 10:17:06 +00:00
Igor Sysoev
8ef386e1af
fix return code, this fixes segfault when two or more
...
simultaneous connections are resolving the same address
2009-01-31 20:33:01 +00:00
Igor Sysoev
2c01fd32f2
use length of uncompressed name
2009-01-30 11:56:45 +00:00
Igor Sysoev
9258872c2a
store name pointer in variable allocated on stack
...
as resolver ctx may be already deallocated at this point
2009-01-29 14:35:23 +00:00
Igor Sysoev
fa748fe120
free addrs only it has been allocated before: non single address
2009-01-29 14:32:58 +00:00
Igor Sysoev
8629b9b27e
fix reverse resolving cache: it stored zero length names
...
*) free name only if it has been already allocated
*) store name length
2009-01-29 14:29:49 +00:00
Igor Sysoev
6c5c793403
bump version
2009-01-26 17:01:27 +00:00
Igor Sysoev
9aa30bc51e
revert the previous commit and r2447 change in src/core/ngx_cycle.c
2009-01-26 14:31:49 +00:00
Igor Sysoev
71f729c78c
default error_log has zero level, the bug has been introduced in r2447
2009-01-26 14:11:09 +00:00
Igor Sysoev
4b2844b8a0
fix slab page or more sized allocations if nginx was build without debug
2009-01-25 10:39:59 +00:00
Igor Sysoev
467f437e27
test ngx_file_info() result, the bug has been introduced in r2070
2009-01-21 15:50:52 +00:00
Igor Sysoev
f39bca4281
bump version
2009-01-19 16:37:22 +00:00
Igor Sysoev
91cf00da17
set the error level as default http error_log level
2009-01-16 14:00:05 +00:00