summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-04-23$upstream_addrIgor Sysoev1-0/+76
2007-04-18store the upstream states before X-Accel-Redirect to a next upstreamIgor Sysoev1-32/+65
2007-04-18style fix: remove tabsIgor Sysoev1-25/+25
2007-04-10$upstream_http_... variablesIgor Sysoev1-0/+15
2007-03-31separate ngx_http_upstream_test_connect() andIgor Sysoev1-37/+52
use it in ngx_http_upstream_process_header() path too
2007-03-23fix segfault if upstream sends trailing ";" in "charset="Igor Sysoev1-0/+2
2007-02-15add debug loggingIgor Sysoev1-0/+3
2007-02-14ngx_strcasecmp()/ngx_strncasecmp()Igor Sysoev1-1/+1
2007-02-09log a right subrequestIgor Sysoev1-0/+4
2007-01-19fix segfault when client_body_in_file_only is on, the body is not passedIgor Sysoev1-2/+5
to upstream, and nginx tries next upstream
2007-01-19a non-active client connection must not closed after send timeoutIgor Sysoev1-2/+2
2007-01-15allow the upstream modules to send a header onlyIgor Sysoev1-1/+1
2006-12-12rewritten upstreamIgor Sysoev1-8/+21
2006-12-11upstream name was tried to resolveIgor Sysoev1-1/+1
2006-12-11TCP upstreams always used the first TCP upstream with the same nameIgor Sysoev1-1/+2
2006-12-06the previous fix does not actually fix overflowIgor Sysoev1-13/+13
2006-12-05fix msec overflowIgor Sysoev1-3/+3
2006-12-04upstream choice modulesIgor Sysoev1-170/+219
2006-11-27axe old % log formatIgor Sysoev1-130/+1
2006-11-15fix negative upstream response timeIgor Sysoev1-5/+7
2006-10-17style fix: remove trailing spacesIgor Sysoev1-1/+1
2006-10-13<!--#include virtual=... set=... -->Igor Sysoev1-1/+110
2006-10-10not do ngx_http_upstream_finalize_request() twiceIgor Sysoev1-3/+4
2006-10-10fix building introduced by previous commitIgor Sysoev1-2/+2
2006-10-10finalize nonbuffered request on timeoutIgor Sysoev1-0/+3
2006-10-09align hash bucket size to cache lineIgor Sysoev1-1/+1
2006-10-06fix hash building on unknown 64-bit platformIgor Sysoev1-1/+1
2006-08-30nginx-0.4.0-RELEASE importrelease-0.4.0Igor Sysoev1-25/+18
*) Change in internal API: the HTTP modules initialization was moved from the init module phase to the HTTP postconfiguration phase. *) Change: now the request body is not read beforehand for the ngx_http_perl_module: it's required to start the reading using the $r->has_request_body method. *) Feature: the ngx_http_perl_module supports the DECLINED return code. *) Feature: the ngx_http_dav_module supports the incoming "Date" header line for the PUT method. *) Feature: the "ssi" directive is available inside the "if" block. *) Bugfix: a segmentation fault occurred if there was an "index" directive with variables and the first index name was without variables; the bug had appeared in 0.1.29.
2006-08-16nginx-0.3.59-RELEASE importrelease-0.3.59Igor Sysoev1-5/+3
*) Feature: now is possible to do several redirection using the "error_page" directive. *) Bugfix: the "dav_access" directive did not support three parameters. *) Bugfix: the "error_page" directive did not changes the "Content-Type" header line after the "X-Accel-Redirect" was used; the bug had appeared in 0.3.58.
2006-08-14nginx-0.3.58-RELEASE importrelease-0.3.58Igor Sysoev1-1/+1
*) Feature: the "error_page" directive supports the variables. *) Change: now the procfs interface instead of sysctl is used on Linux. *) Change: now the "Content-Type" header line is inherited from first response when the "X-Accel-Redirect" was used. *) Bugfix: the "error_page" directive did not redirect the 413 error. *) Bugfix: the trailing "?" did not remove old arguments if no new arguments were added to a rewritten URI. *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
2006-08-09nginx-0.3.57-RELEASE importrelease-0.3.57Igor Sysoev1-9/+33
*) Feature: the $ssl_client_serial variable. *) Bugfix: in the "!-e" operator of the "if" directive. Thanks to Andrian Budanstov. *) Bugfix: while a client certificate verification nginx did not send to a client the required certificates information. *) Bugfix: the $document_root variable did not support the variables in the "root" directive.
2006-07-28nginx-0.3.55-RELEASE importrelease-0.3.55Igor Sysoev1-0/+1
*) Feature: the "stub" parameter in the "include" SSI command. *) Feature: the "block" SSI command. *) Feature: the unicode2nginx script was added to contrib. *) Bugfix: if a "root" was specified by variable only, then the root was relative to a server prefix. *) Bugfix: if the request contained "//" or "/./" and escaped symbols after them, then the proxied request was sent unescaped. *) Bugfix: the $r->headers_in("Cookie") of the ngx_http_perl_module now returns all "Cookie" header lines. *) Bugfix: a segmentation fault occurred if "client_body_in_file_only on" was used and nginx switched to a next upstream. *) Bugfix: on some condition while reconfiguration character codes inside the "charset_map" may be treated invalid; the bug had appeared in 0.3.50.
2006-07-11nginx-0.3.54-RELEASE importrelease-0.3.54Igor Sysoev1-55/+19
*) Feature: nginx now logs the subrequest information to the error log. *) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and "memcached_next_upstream" directives support the "off" parameter. *) Feature: the "debug_connection" directive supports the CIDR address form. *) Bugfix: if a response of proxied server or FastCGI server was converted from UTF-8 or back, then it may be transferred incomplete. *) Bugfix: the $upstream_response_time variable had the time of the first request to a backend only. *) Bugfix: nginx could not be built on amd64 platform; the bug had appeared in 0.3.53.
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-4/+37
*) Change: the "add_header" directive adds the string to 204, 301, and 302 responses. *) Feature: the "server" directive in the "upstream" context supports the "weight" parameter. *) Feature: the "server_name" directive supports the "*" wildcard. *) Feature: nginx supports the request body size more than 2G. *) Bugfix: if a client was successfully authorized using "satisfy_any on", then anyway the message "access forbidden by rule" was written in the log. *) Bugfix: the "PUT" method may erroneously not create a file and return the 409 code. *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx continued proxying anyway.
2006-06-30nginx-0.3.51-RELEASE importrelease-0.3.51Igor Sysoev1-0/+1
*) Bugfix: the "<" symbols might disappeared some conditions in the SSI; the bug had appeared in 0.3.50.
2006-06-28nginx-0.3.50-RELEASE importrelease-0.3.50Igor Sysoev1-2/+44
*) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors" directives was renamed to the "proxy_intercept_errors" and "fastcgi_intercept_errors" directives. *) Feature: the ngx_http_charset_module supports the recoding from the single byte encodings to the UTF-8 encoding and back. *) Feature: the "X-Accel-Charset" response header line is supported in proxy and FastCGI mode. *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI command was removed only if the command also has the "$" symbol. *) Bugfix: the "<!--" string might be added on some conditions in the SSI after inclusion. *) Bugfix: if the "Content-Length: 0" header line was in response, then in nonbuffered proxying mode the client connection was not closed.
2006-05-29nginx-0.3.48-RELEASE importrelease-0.3.48Igor Sysoev1-0/+4
*) Change: now the ngx_http_charset_module works for subrequests, if the response has no "Content-Type" header line. *) Bugfix: if the "proxy_pass" directive has no URI part, then the "proxy_redirect default" directive add the unnecessary slash in start of the rewritten redirect. *) Bugfix: the internal redirect always transform client's HTTP method to GET, now the transformation is made for the "X-Accel-Redirect" redirects only and if the method is not HEAD; the bug had appeared in 0.3.42. *) Bugfix: the ngx_http_perl_module could not be built, if the perl was built with the threads support; the bug had appeared in 0.3.46.
2006-05-23nginx-0.3.47-RELEASE importrelease-0.3.47Igor Sysoev1-9/+299
*) Feature: the "upstream" directive. *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the SSI command is always removed.
2006-05-11nginx-0.3.46-RELEASE importrelease-0.3.46Igor Sysoev1-64/+93
*) Feature: the "proxy_hide_header", "proxy_pass_header", "fastcgi_hide_header", and "fastcgi_pass_header" directives. *) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and "proxy_pass_server" directives were canceled. *) Feature: the "X-Accel-Buffering" response header line is supported in proxy mode. *) Bugfix: the reconfiguration bug and memory leaks in the ngx_http_perl_module.
2006-04-26nginx-0.3.42-RELEASE importrelease-0.3.42Igor Sysoev1-1/+6
*) Feature: the "bind" option of the "listen" directive in IMAP/POP3 proxy. *) Bugfix: if the same capture in the "rewrite" directive was used more then once. *) Bugfix: the $sent_http_content_type, $sent_http_content_length, $sent_http_last_modified, $sent_http_connection, $sent_http_keep_alive, and $sent_http_transfer_encoding variables were not written to access log. *) Bugfix: the $sent_http_cache_control returned value of the single "Cache-Control" response header line.
2006-04-19nginx-0.3.40-RELEASE importrelease-0.3.40Igor Sysoev1-4/+4
*) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
2006-04-05nginx-0.3.36-RELEASE importrelease-0.3.36Igor Sysoev1-13/+4
*) Feature: the ngx_http_addition_filter_module. *) Feature: the "proxy_pass" and "fastcgi_pass" directives may be used inside the "if" block. *) Feature: the "proxy_ignore_client_abort" and "fastcgi_ignore_client_abort" directives. *) Feature: the "$request_completion" variable. *) Feature: the ngx_http_perl_module supports the $r->request_method and $r->remote_addr. *) Feature: the ngx_http_ssi_module supports the "elif" command. *) Bugfix: the "\/" string in the expression of the "if" command of the ngx_http_ssi_module was treated incorrectly. *) Bugfix: in the regular expressions in the "if" command of the ngx_http_ssi_module. *) Bugfix: if the relative path was specified in the "client_body_temp_path", "proxy_temp_path", "fastcgi_temp_path", and "perl_modules" directives, then the directory was used relatively to a current path but not to a server prefix.
2006-03-15nginx-0.3.33-RELEASE importrelease-0.3.33Igor Sysoev1-1/+5
*) Feature: the "http_503" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives. *) Bugfix: ngx_http_perl_module did not work with inlined in the configuration code, if it was not started with the "sub" word. *) Bugfix: in the "post_action" directive.
2006-03-10nginx-0.3.31-RELEASE importrelease-0.3.31Igor Sysoev1-6/+1
*) Change: now nginx passes the malformed proxied backend responses. *) Feature: the "listen" directives support the address in the "*:port" form. *) Feature: the EVFILER_TIMER support in MacOSX 10.4. *) Workaround: for MacOSX 64-bit kernel kqueue millisecond timeout bug. Thanks to Andrei Nigmatulin. *) Bugfix: if there were several "listen" directives listening one various addresses inside one server, then server names like "*.domain.tld" worked for first address only; the bug had appeared in 0.3.18. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive and the request body was in temporarily file then the request was not transferred. *) Bugfix: perl 5.8.8 compatibility.
2006-02-20nginx-0.3.29-RELEASE importrelease-0.3.29Igor Sysoev1-2/+6
*) Feature: now nginx uses less memory, if PHP in FastCGI mode sends many warnings before the response. *) Bugfix: the "Transfer-Encoding: chunked" header line was issued in the 204 responses for the HTTP/1.1 requests. *) Bugfix: nginx returned the 502 response, if the complete response header lines were transferred in a separate FastCGI records. *) Bugfix: if the proxied URI was specified in the "post_action" directive, then it ran only after a successful completion of a request.
2006-02-16nginx-0.3.28-RELEASE importrelease-0.3.28Igor Sysoev1-1/+4
*) Feature: the "restrict_host_names" directive was canceled. *) Feature: the --with-cpu-opt=ppc64 configuration parameter. *) Bugfix: on some condition the proxied connection with a client was terminated prematurely. Thanks to Vladimir Shutoff. *) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into account if the request was redirected using the "X-Accel-Redirect" header line. *) Bugfix: the "post_action" directive ran only after a successful completion of a request. *) Bugfix: the proxied response body generated by the "post_action" directive was transferred to a client.
2006-02-08nginx-0.3.27-RELEASE importrelease-0.3.27Igor Sysoev1-8/+5
*) Change: the "variables_hash_max_size" and "variables_hash_bucket_size" directives. *) Feature: the $body_bytes_sent variable can be used not only in the "log_format" directive. *) Feature: the $ssl_protocol and $ssl_cipher variables. *) Feature: the cache line size detection for widespread CPUs at start time. *) Feature: now the "accept_mutex" directive is supported using fcntl(2) on platforms different from i386, amd64, sparc64, and ppc. *) Feature: the "lock_file" directive and the --with-lock-path=PATH autoconfiguration directive. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive then the requests with the body was not transferred.
2006-01-11nginx-0.3.20-RELEASE importrelease-0.3.20Igor Sysoev1-16/+17
*) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
2005-12-26nginx-0.3.18-RELEASE importrelease-0.3.18Igor Sysoev1-1/+1
*) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
2005-12-18nginx-0.3.17-RELEASE importrelease-0.3.17Igor Sysoev1-35/+53
*) Change: now on Linux configure checks the presence of epoll and sendfile64() in kernel. *) Feature: the "map" directive supports domain names in the ".domain.tld" form. *) Bugfix: the timeouts were not used in SSL handshake; the bug had appeared in 0.2.4. *) Bugfix: in the HTTPS protocol in the "proxy_pass" directive. *) Bugfix: when the HTTPS protocol was used in the "proxy_pass" directive the port 80 was used by default.