summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2010-12-14SSL related fixes:Igor Sysoev1-1/+1
*) merge r3675: fix recognition of SSLv2 Client Hello Packet large than 255 bytes *) upgrade OpenSSL to 0.8.9q in nginx/Windows
2010-12-14set r->valid_unparsed_uri just after request line processing,Igor Sysoev1-0/+1
it allows to use X-Accel-Redirect'ed URI in a proxy_pass without URI part this fix corresponds to r3616
2010-06-07merge r3459, r3571:Igor Sysoev1-4/+19
Win32 fixes: *) compare long file names in case-insensitive mode, the bug had been introduced in r3436 *) test default NTFS stream "::$DATA"
2010-06-04merge r3316, r3317, r3420, r3421, r3453:Igor Sysoev1-0/+6
browsers related fixes: *) add MSIE padding for Chrome too *) disable keepalive for Safari: https://bugs.webkit.org/show_bug.cgi?id=5760 *) do not disable keepalive after POST requests for MSIE 7+
2010-02-01merge r3138, r3139, r3157, r3158, r3159, r3164, r3165,Igor Sysoev1-2/+4
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 r3153, r3154, r3288, r3382:Igor Sysoev1-46/+70
request header processing fixes: *) $host is always in low case: *) move low case convertation from ngx_http_find_virtual_server() to ngx_http_validate_host() *) add in ngx_http_validate_host() capability to copy host name in the pool allocated memory *) fix segfault if there is single large_client_header_buffers and a request line fills it completely *) default large_client_header_buffers' buffer size should be 8K as compatible with Apache's one
2009-11-16r3117, r3123, r3229 merge:Igor Sysoev1-1/+1
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-10-26merge r3055, r3136:Igor Sysoev1-1/+6
gzip related fixes: *) do not disable gzip for MSIE 6.0 SV1 in "gzip_disable msie6" *) nginx always sent "Vary: Accept-Encoding", if both gzip_static and gzip_vary were on
2009-10-26merge r3001, r3007, r3013:Igor Sysoev1-0/+1
fix variuos segfaults: *) fix segfault if 400 or 414 errors are handled intricately *) ngx_http_upstream_create() to cleanup the previous upstream after internal redirect
2009-10-26merge r2995, r2996, r2997, r2998, r3003, r3141, r3210, r3211, r3232:Igor Sysoev1-10/+12
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 r2993:Igor Sysoev1-1/+1
geo module supports trusted proxies
2009-10-26merge r2972, r2994, r3133, r3142, r3143, r3174, r3175, r3176:Igor Sysoev1-1/+8
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 r2903, r2911, r2912, r3002:Igor Sysoev1-3/+6
fix various failures handling
2009-09-07merge r3076, r3077, r3080:Igor Sysoev1-20/+16
fix invalid header logging: *) fix segfault when a header starts with "\rX" and logging is set to info or debug level *) use %*s instead of %V
2009-09-07merge r2980, r2981, r2982:Igor Sysoev1-0/+16
win32 fixes: *) ngx_http_set_exten() is always successful since 0.3.46 *) skip URI trailing dots under Win32 *) use caseless regex locations on caseless filesystems: MacOSX, Win32, Cygwin
2009-06-22merge r2952:Igor Sysoev1-12/+12
ignore ngx_atomic_fetch_add() result this fixes building at least by gcc 4.2.1 on Mac OS X 10.6
2009-06-15merge r2889, r2918, and r2921:Igor Sysoev1-0/+2
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-05-25fix socket leak introduced in r2378Igor Sysoev1-0/+5
2009-05-18use ngx_connection_local_sockaddr() instead of ngx_http_server_addr()Igor Sysoev1-1/+1
2009-05-18delete unneeded castIgor Sysoev1-2/+2
2009-05-08handle big responses for "size" and "test" image_filtersIgor Sysoev1-0/+5
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-4/+4
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-23ngx_path_separator()Igor Sysoev1-7/+1
2009-04-09backout r2535: virtual names is a property of address:port pair,Igor Sysoev1-9/+7
but is not a property of server configuration
2009-04-04refactor ngx_http_arg() using ngx_strcasestrn(),Igor Sysoev1-1/+0
back out zero termination introduced in r2138
2009-03-18fix $server_addr for wildcard listen, the has been introduced in r2513Igor Sysoev1-2/+0
2009-03-12fix building without PCRE, introduced in r2553Igor Sysoev1-1/+1
2009-03-12ignore EINVAL from setsockopt() on SolarisIgor Sysoev1-0/+7
2009-03-11fix segfaults introduced in r2549 and r2550Igor Sysoev1-2/+2
2009-03-09fix segfaults introduced in r2550Igor Sysoev1-5/+6
2009-03-06captures support in server_nameIgor Sysoev1-1/+26
2009-02-24small optimization: " == NGX_ERROR" > " != NGX_OK"Igor Sysoev1-4/+4
2009-02-24move r->virtual_names to ngx_http_core_srv_conf_tIgor Sysoev1-7/+9
2009-02-24axe r->port_textIgor Sysoev1-2/+0
2009-02-23axe r->portIgor Sysoev1-1/+0
2009-02-23axe r->in_addrIgor Sysoev1-1/+0
2009-02-21a prelimiary IPv6 support, HTTP listenIgor Sysoev1-36/+74
2009-01-31avoid a double redirect response ifIgor Sysoev1-0/+1
*) a request is going in a keep alive state, *) the request body should be discarded, *) epoll/rtsig reports about the response header has been sent, *) and write event handler calls core phase handler
2008-12-09use "!= NGX_OK" instead of "== NGX_ERROR"Igor Sysoev1-17/+15
2008-12-09delete unneeded callIgor Sysoev1-2/+0
2008-12-08*) refactor subrequest handling, now they run as separate posted requestsIgor Sysoev1-65/+138
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used with log_subrequest
2008-12-08allow POST without Content-LengthIgor Sysoev1-3/+1
2008-11-10ngx_http_limit_req_moduleIgor Sysoev1-2/+1
2008-09-29refactor log_subrequestIgor Sysoev1-17/+11
2008-09-29update log_subrequestIgor Sysoev1-0/+4
2008-09-29fix the previous commitIgor Sysoev1-0/+2
2008-09-27*) log_subrequestIgor Sysoev1-17/+36
*) flush variables in access log
2008-09-24underscores_in_headersIgor Sysoev1-1/+2
2008-09-15set request handlers, this fixes complex proxied 400 handler with SSI includesIgor Sysoev1-0/+3
2008-09-05remove unused #include'sIgor Sysoev1-1/+0