summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_inet.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-12-06Core: externalized ngx_cmp_sockaddr().Ruslan Ermilov1-0/+2
It's also extended with the "cmp_port" argument to indicate whether ports should be compared as well, or only addresses.
2013-07-11Core: extended ngx_sock_ntop() with socklen parameter.Vladimir Homutov1-2/+2
On Linux, sockaddr length is required to process unix socket addresses properly due to unnamed sockets (which don't have sun_path set at all) and abstract namespace sockets.
2012-12-17Implemented IPv6 support for URLs specified using domain names.Ruslan Ermilov1-1/+1
This includes "debug_connection", upstreams, "proxy_pass", etc. (ticket #92) To preserve compatibility, "listen" specified with a domain name selects the first IPv4 address, if available. If not available, the first IPv6 address will be used (ticket #186).
2012-11-30Fixed the NGX_SOCKADDR_STRLEN macro definition.Ruslan Ermilov1-1/+1
The ngx_sock_ntop() function, when told to print both address and port, prints IPv6 address in square brackets, followed by colon and port.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2009-11-03make ngx_inet6_ntop() non-staticIgor Sysoev1-0/+1
2009-11-02change ngx_parse_addr() interfaceIgor Sysoev1-1/+2
2009-11-02ngx_parse_addr()Igor Sysoev1-0/+1
2009-11-02rename ngx_peer_addr_t to ngx_addr_tIgor Sysoev1-2/+2
2009-11-02ngx_inet6_addr()Igor Sysoev1-0/+3
2009-11-02style fixIgor Sysoev1-1/+0
2009-10-26http listen unix domain socketsIgor Sysoev1-8/+13
2009-05-18delete unneeded fieldIgor Sysoev1-7/+0
2009-02-24fix the previous commitIgor Sysoev1-6/+6
2009-02-24prepare ngx_ptocidr() for IPv6Igor Sysoev1-27/+48
2009-02-21fix NGX_SOCKADDRLEN, introduced in r2513Igor Sysoev1-3/+4
2009-02-21a prelimiary IPv6 support, HTTP listenIgor Sysoev1-2/+25
2008-08-26*) refactor ngx_parse_inet_url()Igor Sysoev1-4/+1
*) refactor ngx_parse_unix_domain_url() *) delete unused ngx_url_t fields
2008-08-21ngx_sock_ntop() takes family from sockaddr, remove duplicate fieldIgor Sysoev1-1/+1
2008-08-21*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()Igor Sysoev1-0/+3
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN
2007-11-28ngx_parse_url() saves port text, this allows to use it in proxy host headerIgor Sysoev1-0/+1
2007-11-23ngx_inet_addr()Igor Sysoev1-0/+1
2007-10-08use pool instead of ngx_conf_tIgor Sysoev1-2/+2
2006-12-12rewritten upstreamIgor Sysoev1-5/+3
2006-12-04upstream choice modulesIgor Sysoev1-60/+31
2006-10-24axe ngx_inet_upstream_parse() and ngx_inet_parse_host_port()Igor Sysoev1-26/+2
2006-10-24now the "listen" directives use ngx_parse_url()Igor Sysoev1-31/+37
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-1/+1
*) 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-28nginx-0.3.50-RELEASE importrelease-0.3.50Igor Sysoev1-1/+0
*) 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-23nginx-0.3.47-RELEASE importrelease-0.3.47Igor Sysoev1-0/+68
*) Feature: the "upstream" directive. *) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the SSI command is always removed.
2005-01-18nginx-0.1.14-RELEASE importrelease-0.1.14Igor Sysoev1-1/+28
*) Feature: the autoconfiguration directives: --http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and --http-fastcgi-temp-path=PATH *) Change: the directory name for the temporary files with the client request body is specified by directive client_body_temp_path, by default it is <prefix>/client_body_temp. *) Feature: the ngx_http_fastcgi_module and the directives: fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params, fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout, fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers, fastcgi_busy_buffers_size, fastcgi_temp_path, fastcgi_max_temp_file_size, fastcgi_temp_file_write_size, fastcgi_next_upstream, and fastcgi_x_powered_by. *) Bugfix: the "[alert] zero size buf" error; the bug had appeared in 0.1.3. *) Change: the URI must be specified after the host name in the proxy_pass directive. *) Change: the %3F symbol in the URI was considered as the argument string start. *) Feature: the unix domain sockets support in the ngx_http_proxy_module. *) Feature: the ssl_engine and ssl_ciphers directives. Thanks to Sergey Skvortsov for SSL-accelerator.
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev1-1/+1
2004-09-28nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev1-0/+6
2004-05-25nginx-0.0.3-2004-05-25-19:28:46 importIgor Sysoev1-0/+8
2004-03-16nginx-0.0.3-2004-03-16-16:35:20 importIgor Sysoev1-1/+1
2004-03-16nginx-0.0.2-2004-03-16-10:10:12 importIgor Sysoev1-2/+3
2003-01-30nginx-0.0.1-2003-01-30-10:28:09 importIgor Sysoev1-0/+1
2002-12-15nginx-0.0.1-2002-12-15-09:25:09 importIgor Sysoev1-0/+8