Igor Sysoev
07bb4ed971
Introduction of simple ngx_write_stderr() instead of ngx_log_stderr()
...
for output of ./configure options, etc., since ngx_log_stderr() output
length is limited by 2048 characters defined as NGX_MAX_ERROR_STR.
2011-11-14 14:59:00 +00:00
Igor Sysoev
efc6ecab82
malloc() debugging on MacOSX.
2011-10-24 15:46:48 +00:00
Igor Sysoev
5f81070523
Fixing conflict with SDK off_t definition.
2011-10-20 07:12:45 +00:00
Igor Sysoev
1472e7964b
Recent SDKs allow to build IPV6 only for Windows XP or above.
2011-10-20 07:00:04 +00:00
Ruslan Ermilov
a823c550e4
Replaced "can not" with "cannot" and "could not" in a bunch of places.
...
Fixed nearby grammar errors.
2011-09-19 14:48:29 +00:00
Maxim Dounin
de1a3e1e0c
Fix buffer overrun under Windows.
2011-08-22 10:07:27 +00:00
Igor Sysoev
c2cafadfa5
elimination of reading cache files by cache loader
2011-07-24 19:46:53 +00:00
Igor Sysoev
5dc5945ccf
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
...
patch by Maxim Dounin
2011-05-16 14:54:50 +00:00
Igor Sysoev
ef1f33b0db
Use more precise stat.st_blocks to account cache size on Unix
...
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-04-22 10:06:43 +00:00
Igor Sysoev
cc878dc6ac
use SwitchToThread() instead of Sleep(0), because the later
...
may not yield control, if there is no thread with higher priority
2011-01-20 13:06:21 +00:00
Igor Sysoev
7f31a2098d
use copied strerror() messages and autoconfigured sys_nerr value
2010-11-25 11:04:03 +00:00
Igor Sysoev
8a9f761927
add "Global\" prefix for signal events
2010-09-02 13:49:05 +00:00
Igor Sysoev
ee37271a0f
fix building by owc12: GetLongPathName() is available since Win2K only
2010-07-05 12:47:35 +00:00
Igor Sysoev
865db9bbf3
ngx_create_file_mapping()
2010-06-29 15:18:50 +00:00
Igor Sysoev
aa6936e61a
style fix
2010-06-23 16:34:54 +00:00
Igor Sysoev
d50e53e675
do not free() stack allocated buffer
2010-06-14 18:09:52 +00:00
Igor Sysoev
3ec15dd090
use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks
2010-04-22 17:15:42 +00:00
Igor Sysoev
bfc8b78f57
use non-blocking open() not to hang on FIFO files, etc.
2010-04-21 15:59:36 +00:00
Igor Sysoev
6d45d8a50d
*) introduce ngx_time_sigsafe_update() to update the error log time only
...
*) change ngx_time_update() interface
2010-03-25 09:10:10 +00:00
Igor Sysoev
2f916a9721
*) 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
2010-03-13 18:08:07 +00:00
Igor Sysoev
f953436886
compare long file names in case-insensitive mode,
...
the bug had been introduced in r3418
2010-03-03 10:05:54 +00:00
Igor Sysoev
10fa102e32
disable Win32 short file names
2010-01-28 14:17:51 +00:00
Igor Sysoev
44be39475c
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()
2009-12-15 13:47:02 +00:00
Igor Sysoev
72db760eca
add NGX_PROCESS_HELPER process status
2009-11-23 15:46:21 +00:00
Igor Sysoev
2952af08f1
a cache manager thread handle was overwritten by a cache loader thread handle,
...
this caused an exit delay, the bug had been introduced in r3023
2009-11-17 16:46:27 +00:00
Igor Sysoev
b13029c57c
update allocation error messages
2009-11-15 09:03:08 +00:00
Igor Sysoev
19811dbdde
style fix
2009-11-02 12:41:56 +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
5631879c7a
test incomplete WriteFile()
2009-09-24 20:05:21 +00:00
Igor Sysoev
f4d97e2472
log file name for read/write errors
2009-09-24 20:04:10 +00:00
Igor Sysoev
4bcc725f83
delete Win95 code
2009-09-24 19:55:35 +00:00
Igor Sysoev
866e958c5d
win32 ngx_file_info() utf8 support
2009-09-16 13:30:13 +00:00
Igor Sysoev
7e4e5e165f
preserve errno while ngx_free()
2009-09-16 13:28:20 +00:00
Igor Sysoev
3a58935936
*) share temporary number between workers
...
*) randomize collision offset
2009-08-21 09:06:35 +00:00
Igor Sysoev
c9538c069f
NGX_ENOPATH
2009-08-11 14:25:04 +00:00
Igor Sysoev
98ab9ce988
win32 cache loader support
2009-08-11 08:14:43 +00:00
Igor Sysoev
e9d8858da5
style fix
2009-08-11 07:55:39 +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
2642bf1a6d
use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin
2009-07-14 08:53:37 +00:00
Igor Sysoev
52833f2211
handle Win32 ReadFile() EOF state in Unix way
2009-07-13 09:32:49 +00:00
Igor Sysoev
2d65078eff
update r2925
2009-06-07 18:22:58 +00:00
Igor Sysoev
7b6b09f105
*) exit if no workers could not be started
...
*) do not quit old workers if no new workers could not be started
2009-06-06 12:36:44 +00:00
Igor Sysoev
a864311b12
fix debug logging
2009-06-05 17:44:49 +00:00
Igor Sysoev
42846485a2
test premature process termination
2009-06-02 14:26:59 +00:00
Igor Sysoev
130690fceb
log GetExitCodeProcess()'s errno
2009-06-02 14:26:18 +00:00
Igor Sysoev
5b26bec9e8
*) fix memory leak in successful case
...
*) log shared memory name in failure case
2009-06-02 13:56:42 +00:00
Igor Sysoev
785ee23467
allow shared memory segments more than 4G
2009-05-30 17:06:38 +00:00