summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_inet.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-11-03ngx_ptocidr() supports IPv6Igor Sysoev1-26/+66
2009-11-03make ngx_inet6_ntop() non-staticIgor Sysoev1-4/+1
2009-11-02change ngx_parse_addr() interfaceIgor Sysoev1-22/+13
2009-11-02ngx_parse_addr()Igor Sysoev1-0/+63
2009-11-02rename ngx_peer_addr_t to ngx_addr_tIgor Sysoev1-3/+3
2009-11-02use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr"Igor Sysoev1-2/+2
2009-11-02replace inet_addr() with ngx_inet_addr()Igor Sysoev1-21/+18
2009-11-02use ngx_inet6_addr()Igor Sysoev1-28/+2
2009-11-02ngx_inet6_addr()Igor Sysoev1-0/+120
2009-10-26http listen unix domain socketsIgor Sysoev1-0/+14
2009-05-18delete unneeded fieldIgor Sysoev1-3/+0
2009-05-07IPv6 for Win32Igor Sysoev1-0/+14
2009-02-24prepare ngx_ptocidr() for IPv6Igor Sysoev1-13/+14
2009-02-21fix upstream port, introduced in r2513Igor Sysoev1-2/+1
2009-02-21a prelimiary IPv6 support, HTTP listenIgor Sysoev1-29/+309
2008-11-11style fix: remove trailing spacesIgor Sysoev1-1/+1
2008-10-24fix case proxy_pass URL is evaluted to http://host?argsIgor Sysoev1-1/+12
2008-10-24fix case when URL has no port, but has ":" in URI part,Igor Sysoev1-1/+5
the bug has been introduced in r2204
2008-08-26fix bugs introduced in r2204Igor Sysoev1-20/+19
2008-08-26*) refactor ngx_parse_inet_url()Igor Sysoev1-120/+95
*) refactor ngx_parse_unix_domain_url() *) delete unused ngx_url_t fields
2008-08-26*) refactor ngx_ptocidr()Igor Sysoev1-18/+23
*) allow address without bitmask *) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-22split ngx_parse_url()Igor Sysoev1-55/+81
2008-08-21ngx_sock_ntop() takes family from sockaddr, remove duplicate fieldIgor Sysoev1-3/+3
2008-08-21*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()Igor Sysoev1-141/+15
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN
2008-06-17*) back out r2040Igor Sysoev1-2/+2
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-01-22fix building by bcc introduced by r1831Igor Sysoev1-1/+1
2008-01-04change orderIgor Sysoev1-44/+47
2007-11-28ngx_parse_url() saves port text, this allows to use it in proxy host headerIgor Sysoev1-0/+3
2007-11-23ngx_inet_addr()Igor Sysoev1-0/+45
2007-10-08use pool instead of ngx_conf_tIgor Sysoev1-17/+24
2007-08-10ignore meaningless bits in CIDR and warn about themIgor Sysoev1-1/+7
2007-02-14ngx_strcasecmp()/ngx_strncasecmp()Igor Sysoev1-1/+1
2006-12-12rewritten upstreamIgor Sysoev1-62/+42
2006-12-06unix socket upstreams always used the first unix upstreamIgor Sysoev1-0/+3
2006-12-04upstream choice modulesIgor Sysoev1-86/+64
2006-10-24axe ngx_inet_upstream_parse() and ngx_inet_parse_host_port()Igor Sysoev1-275/+0
2006-10-24now the "listen" directives use ngx_parse_url()Igor Sysoev1-2/+47
2006-09-24fix uri part in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47Igor Sysoev1-2/+5
2006-09-24fix segfault in "proxy_pass http://unix:...", the bug appeared in nginx-0.3.47Igor Sysoev1-0/+1
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-2/+8
*) 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-05-23nginx-0.3.47-RELEASE importrelease-0.3.47Igor Sysoev1-1/+335
*) Feature: the "upstream" directive. *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the SSI command is always removed.
2006-04-07nginx-0.3.37-RELEASE importrelease-0.3.37Igor Sysoev1-2/+2
*) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
2005-11-26nginx-0.3.12-RELEASE importrelease-0.3.12Igor Sysoev1-2/+2
*) Security: if nginx was built with the ngx_http_realip_module and the "satisfy_any on" directive was used, then access and authorization directives did not work. The ngx_http_realip_module was not built and is not built by default. *) Change: the "$time_gmt" variable name was changed to "$time_local". *) Change: the "proxy_header_buffer_size" and "fastcgi_header_buffer_size" directives was renamed to the "proxy_buffer_size" and "fastcgi_buffer_size" directives. *) Feature: the ngx_http_memcached_module. *) Feature: the "proxy_buffering" directive. *) Bugfix: the changes in accept mutex handling when the "rtsig" method was used; the bug had appeared in 0.3.0. *) Bugfix: if the client sent the "Transfer-Encoding: chunked" header line, then nginx returns the 411 error. *) Bugfix: if the "auth_basic" directive was inherited from the http level, then the realm in the "WWW-Authenticate" header line was without the "Basic realm" text. *) Bugfix: if the "combined" format was explicitly specified in the "access_log" directive, then the empty lines was written to the log; the bug had appeared in 0.3.8. *) Bugfix: nginx did not run on the sparc platform under any OS except Solaris. *) Bugfix: now it is not necessary to place space between the quoted string and closing bracket in the "if" directive.
2005-11-15nginx-0.3.10-RELEASE importrelease-0.3.10Igor Sysoev1-1/+1
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
2005-10-24nginx-0.3.6-RELEASE importrelease-0.3.6Igor Sysoev1-13/+17
*) Change: now the IMAP/POP3 proxy do not send the empty login to authorization server. *) Feature: the "log_format" supports the variables in the $name form. *) Bugfix: if at least in one server was no the "listen" directive, then nginx did not listen on the 80 port; the bug had appeared in 0.3.3. *) Bugfix: if the URI part is omitted in "proxy_pass" directive, the the 80 port was always used.
2005-10-12nginx-0.3.2-RELEASE importrelease-0.3.2Igor Sysoev1-4/+0
*) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
2005-10-05nginx-0.2.6-RELEASE importrelease-0.2.6Igor Sysoev1-2/+3
*) Change: while using load-balancing the time before the failed backend retry was decreased from 60 to 10 seconds. *) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI now passed, if the URI part is omitted in "proxy_pass" directive. *) Feature: the "error_page" directive supports redirects and allows more flexible to change an error code. *) Change: the charset in the "Content-Type" header line now is ignored in proxied subrequests. *) Bugfix: if the URI was changed in the "if" block and request did not found new configuration, then the ngx_http_rewrite_module rules ran again. *) Bugfix: if the "set" directive set the ngx_http_geo_module variable in some configuration part, the this variable was not available in other configuration parts and the "using uninitialized variable" error was occurred; the bug had appeared in 0.2.2.
2005-05-23nginx-0.1.33-RELEASE importrelease-0.1.33Igor Sysoev1-2/+3
*) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.1.29. *) Bugfix: 3, 4, 7, and 8 the "proxy_set_header" directives in one level cause the bus fault on start up. *) Bugfix: the HTTP protocol was specified in the HTTPS redirects. *) Bugfix: if the "rewrite" directive used the captures inside the "if" directive, then the 500 error code was returned.
2005-05-19nginx-0.1.32-RELEASE importrelease-0.1.32Igor Sysoev1-1/+1
*) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; the bug had appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
2005-05-12nginx-0.1.29-RELEASE importrelease-0.1.29Igor Sysoev1-7/+12
*) Feature: the ngx_http_ssi_module supports "include virtual" command. *) Feature: the ngx_http_ssi_module supports the condition command like 'if expr="$NAME"' and "else" and "endif" commands. Only one nested level is supported. *) Feature: the ngx_http_ssi_module supports the DATE_LOCAL and DATE_GMT variables and "config timefmt" command. *) Feature: the "ssi_ignore_recycled_buffers" directive. *) Bugfix: the "echo" command did not show the default value for the empty QUERY_STRING variable. *) Change: the ngx_http_proxy_module was rewritten. *) Feature: the "proxy_redirect", "proxy_pass_request_headers", "proxy_pass_request_body", and "proxy_method" directives. *) Feature: the "proxy_set_header" directive. The "proxy_x_var" was canceled and must be replaced with the proxy_set_header directive. *) Change: the "proxy_preserve_host" is canceled and must be replaced with the "proxy_set_header Host $host" and the "proxy_redirect off" directives, the "proxy_set_header Host $host:$proxy_port" directive and the appropriate proxy_redirect directives. *) Change: the "proxy_set_x_real_ip" is canceled and must be replaced with the "proxy_set_header X-Real-IP $remote_addr" directive. *) Change: the "proxy_add_x_forwarded_for" is canceled and must be replaced with the "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for" directive. *) Change: the "proxy_set_x_url" is canceled and must be replaced with the "proxy_set_header X-URL http://$host:$server_port$request_uri" directive. *) Feature: the "fastcgi_param" directive. *) Change: the "fastcgi_root", "fastcgi_set_var" and "fastcgi_params" directive are canceled and must be replaced with the fastcgi_param directives. *) Feature: the "index" directive can use the variables. *) Feature: the "index" directive can be used at http and server levels. *) Change: the last index only in the "index" directive can be absolute. *) Feature: the "rewrite" directive can use the variables. *) Feature: the "internal" directive. *) Feature: the CONTENT_LENGTH, CONTENT_TYPE, REMOTE_PORT, SERVER_ADDR, SERVER_PORT, SERVER_PROTOCOL, DOCUMENT_ROOT, SERVER_NAME, REQUEST_METHOD, REQUEST_URI, and REMOTE_USER variables. *) Change: nginx now passes the invalid lines in a client request headers or a backend response header. *) Bugfix: if the backend did not transfer response for a long time and the "send_timeout" was less than "proxy_read_timeout", then nginx returned the 408 response. *) Bugfix: the segmentation fault was occurred if the backend sent an invalid line in response header; the bug had appeared in 0.1.26. *) Bugfix: the segmentation fault may occurred in FastCGI fault tolerance configuration. *) Bugfix: the "expires" directive did not remove the previous "Expires" and "Cache-Control" headers. *) Bugfix: nginx did not take into account trailing dot in "Host" header line. *) Bugfix: the ngx_http_auth_module did not work under Linux. *) Bugfix: the rewrite directive worked incorrectly, if the arguments were in a request. *) Bugfix: nginx could not be built on MacOS X.