summaryrefslogtreecommitdiffhomepage
path: root/src/core (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-02-01merge r3138, r3139, r3157, r3158, r3159, r3164, r3165,Igor Sysoev3-15/+24
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 Sysoev1-3/+1
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
2010-02-01merge r3200:Igor Sysoev1-0/+7
nginx did not close log file set by --error-log-path, the bug was introduced in r2744
2010-02-01merge r3148, r3152, r3161:Igor Sysoev2-8/+2
error processing fixes: *) fail if file size was changed *) low default connection errors level from alert to error *) low ENAMETOOLONG logging level
2010-02-01bump versionIgor Sysoev1-2/+2
2009-11-16r3140, r3144, r3298, r3299, r3300, r3307, r3308 merge:Igor Sysoev1-15/+22
resolver fixes: *) fix memory leak in resolver *) fix resolver cache rbtree comparison *) fix segfault in resolver: ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete contexts from a resolver node waiting list. *) fix "PTR ." case in address resolver *) add quotes in an error message, *) fix resolving an empty name (".") *) use ngx_resolver_alloc() instead of ngx_resolver_calloc() since all fields are filled
2009-11-16r3117, r3123, r3229 merge:Igor Sysoev2-0/+32
server name related merges: *) If .domain.com, .sub.domain.com, and .domain-some.com were defined, then .sub.domain.com was matched by .domain.com: wildcard names hash was built incorrectly due to sorting order issue of "." vs "-". They were sorted as com.domain com.domain-some com.domain.sub while they should be sorted as com.domain com.domain.sub com.domain-some for correct hash building *) test space between "~" and regex in server_name and invalid_referers *) do not run regex for empty host name since regex always fails in this case, the bug had been introduced in r2196
2009-11-16bump versionIgor Sysoev1-2/+2
2009-10-26merge r3024, r3025, r3028, r3033, r3034, r3035, r3036:Igor Sysoev2-37/+207
allow cross device temporary files atomic copying
2009-10-26merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:Igor Sysoev2-1/+5
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 r2995, r2996, r2997, r2998, r3003, r3141, r3210, r3211, r3232:Igor Sysoev1-0/+7
various SSL fixes and features: *) $ssl_client_verify *) "ssl_verify_client ask" was changed to "ssl_verify_client optional" *) ssl_crl *) delete OpenSSL pre-0.9.7 compatibility: the sources were not actually compatible with OpenSSL 0.9.6 since ssl_session_cache introduction *) fix memory corruption in $ssl_client_cert *) issue SNI warning instead of failure: this is too common case *) use ngx_log_error(), since OpenSSL does not set an error on the failure *) add SNI support in -V output
2009-10-26merge r2972, r2994, r3133, r3142, r3143, r3174, r3175, r3176:Igor Sysoev1-2/+5
various perl fixes: *) fix ngx_http_send_special() for subrequests handled by perl *) allow perl "sub{..." *) restore environ, this fixes segfault on reconfiguration failure when perl module creates new environment *) optimize error handling *) use ngx_conf_set_str_array_slot() for perl_require *) allow several perl_modules
2009-10-26merge r2920, r2934, r3116, r3119:Igor Sysoev2-12/+15
style fixes
2009-10-26merge r2903, r2911, r2912, r3002:Igor Sysoev2-3/+2
fix various failures handling
2009-10-26bump versionIgor Sysoev1-2/+2
2009-09-07merge r3047, r3048, r3049:Igor Sysoev1-1/+1
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 r3037:Igor Sysoev1-5/+5
the flags should be bit-wide only
2009-09-07bump versionIgor Sysoev1-2/+2
2009-06-22bump versionIgor Sysoev1-2/+2
2009-06-15merge r2897, r2898, r2899, r2901, r2902, r2904, r2905, r2906, r2907,Igor Sysoev6-44/+111
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-06-15merge r2900:Igor Sysoev1-0/+2
fix XSLT filter in SSI subrequests
2009-06-15merge r2935:Igor Sysoev1-0/+1
initialize use_event field in open file cache the bug had been introduced in r2071
2009-06-15merge r2889, r2918, and r2921:Igor Sysoev3-1/+20
fix a pool growing and CPU usage for multi-requests keepalive connections: *) keepalive_requests *) try to reuse last 4 free large allocation links *) do not test a pool block space if we can not allocated from the block 4 times
2009-06-15bump versionIgor Sysoev1-2/+2
2009-05-18bump versionIgor Sysoev1-2/+2
2009-05-18delete unneeded fieldIgor Sysoev2-10/+0
2009-05-18ngx_connection_local_sockaddr()Igor Sysoev2-0/+62
2009-05-14style fixIgor Sysoev1-1/+3
2009-05-12bump versionIgor Sysoev1-2/+2
2009-05-11bump versionIgor Sysoev1-2/+2
2009-05-07IPv6 for Win32Igor Sysoev1-0/+14
2009-05-06bump versionIgor Sysoev1-2/+2
2009-05-05ngx_create_listening()Igor Sysoev2-0/+60
2009-05-05move listen log copying from ngx_open_listening_sockets()Igor Sysoev1-2/+2
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-05use correct nameIgor Sysoev3-3/+3
2009-05-05use local variableIgor Sysoev1-2/+2
2009-05-04delete never used ngx_ssl_set_nosendshut()Igor Sysoev1-5/+0
2009-05-04delete ngx_listening_inet_stream_socket()Igor Sysoev2-48/+0
2009-05-01bump versionIgor Sysoev1-2/+2
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev8-46/+50
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-30set of.failed for cached error, the bug has been introduced in r2757Igor Sysoev1-0/+1
2009-04-29uniform ngx_file_info() interface with ngx_fd_info()Igor Sysoev3-5/+9
2009-04-29fix the previous commitIgor Sysoev1-7/+5
2009-04-29Winsock uses ECONNABORTED instead of ECONNRESETIgor Sysoev1-2/+13
2009-04-29fix building by BCC if NGX_PREFIX is definedIgor Sysoev1-2/+3
2009-04-28*) do not show line number for -g optionIgor Sysoev1-3/+14
*) reset configuration file after -g option has been parsed
2009-04-28introduce ngx_write_console() to support OEM code pagesIgor Sysoev1-2/+2
2009-04-28add prefix in UsageIgor Sysoev1-1/+1
2009-04-27ngx_log_errno()Igor Sysoev3-63/+30
2009-04-27use ngx_vslprintf(), ngx_slprintf()Igor Sysoev2-18/+18