Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Core: guard use of AI_ADDRCONFIG. | Ruslan Ermilov | 2013-08-05 |
| | | | | | | Some systems (notably NetBSD and OpenBSD) lack AI_ADDRCONFIG support. Reported by Piotr Sikora. | ||
* | Fixed build with signed socklen_t and unix sockets. | Maxim Dounin | 2013-08-05 |
| | | | | | | | | This seems to be the case at least under Cygwin, where build was broken by 05ba5bce31e0 (1.5.3). Reported by Kevin Worthington, http://mailman.nginx.org/pipermail/nginx/2013-August/040028.html. | ||
* | Core: only resolve address families configured on the local system. | Ruslan Ermilov | 2013-08-05 |
| | | | | | | | | | | | | | | | This is done by passing AI_ADDRCONFIG to getaddrinfo(). On Linux, setting net.ipv6.conf.all.disable_ipv6 to 1 will now be respected. On FreeBSD, AI_ADDRCONFIG filtering is currently implemented by attempting to create a datagram socket for the corresponding family, which succeeds even if the system doesn't in fact have any addresses of that family configured. That is, if the system with IPv6 support in the kernel doesn't have IPv6 addresses configured, AI_ADDRCONFIG will filter out IPv6 only inside a jail without IPv6 addresses or with IPv6 disabled. | ||
* | Core: extended ngx_sock_ntop() with socklen parameter. | Vladimir Homutov | 2013-07-11 |
| | | | | | | 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. | ||
* | Fixed "proxy_pass" with IP address and no port (ticket #276). | Ruslan Ermilov | 2013-01-10 |
| | | | | | | | | | Upstreams created by "proxy_pass" with IP address and no port were broken in 1.3.10, by not initializing port in u->sockaddr. API change: ngx_parse_url() was modified to always initialize port (in u->sockaddr and in u->port), even for the u->no_resolve case; ngx_http_upstream() and ngx_http_upstream_add() were adopted. | ||
* | Properly initialize "struct in6_addr" with zeroes. | Ruslan Ermilov | 2012-12-22 |
| | |||
* | Implemented IPv6 support for URLs specified using domain names. | Ruslan Ermilov | 2012-12-17 |
| | | | | | | | | | 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). | ||
* | Fixed URL parsing code. | Ruslan Ermilov | 2012-12-17 |
| | | | | | | The URL parsing code is not expected to initialize port from default port when in "no_resolve" mode. This got broken in r4671 for the case of IPv6 literals. | ||
* | Simplified URL parsing code. | Ruslan Ermilov | 2012-12-17 |
| | | | | | Except for the "listen" directive, "*" specified as a hostname is no longer treated specially. | ||
* | Support for IPv6 literals in proxy_pass and so on. | Maxim Dounin | 2012-06-04 |
| | |||
* | Code reduction (no functional changes). | Ruslan Ermilov | 2012-06-01 |
| | |||
* | Removed historical and now redundant syntax pre-checks in ngx_parse_url(). | Ruslan Ermilov | 2012-05-21 |
| | |||
* | Reduced the number of lines of code in ngx_inet_addr(). | Ruslan Ermilov | 2012-04-12 |
| | |||
* | Improved readability of the code that produces bitmask from prefix. | Ruslan Ermilov | 2012-04-11 |
| | | | | In collaboration with Maxim Dounin. | ||
* | In ngx_ptocidr(), check that the supplied prefix length is within | Ruslan Ermilov | 2012-04-03 |
| | | | | the allowed range. | ||
* | Fixed spelling in multiline C comments. | Ruslan Ermilov | 2012-04-03 |
| | |||
* | Copyright updated. | Maxim Konovalov | 2012-01-18 |
| | |||
* | Fixed port range checking. | Ruslan Ermilov | 2011-10-25 |
| | |||
* | fix segfault in IPv6 parsing while processing invalid IPv4 address X.YYYY.Z | Igor Sysoev | 2011-04-15 |
| | | | | patch by Maxim Dounin | ||
* | fix u->one_addr handling in ngx_inet_resolve_host() | Igor Sysoev | 2011-02-17 |
| | | | | patch by Maxim Dounin | ||
* | fix double free(), introduced in r3268 | Igor Sysoev | 2009-12-07 |
| | |||
* | ngx_ptocidr() supports IPv6 | Igor Sysoev | 2009-11-03 |
| | |||
* | make ngx_inet6_ntop() non-static | Igor Sysoev | 2009-11-03 |
| | |||
* | change ngx_parse_addr() interface | Igor Sysoev | 2009-11-02 |
| | |||
* | ngx_parse_addr() | Igor Sysoev | 2009-11-02 |
| | |||
* | rename ngx_peer_addr_t to ngx_addr_t | Igor Sysoev | 2009-11-02 |
| | |||
* | use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr" | Igor Sysoev | 2009-11-02 |
| | |||
* | replace inet_addr() with ngx_inet_addr() | Igor Sysoev | 2009-11-02 |
| | |||
* | use ngx_inet6_addr() | Igor Sysoev | 2009-11-02 |
| | |||
* | ngx_inet6_addr() | Igor Sysoev | 2009-11-02 |
| | |||
* | http listen unix domain sockets | Igor Sysoev | 2009-10-26 |
| | |||
* | delete unneeded field | Igor Sysoev | 2009-05-18 |
| | |||
* | IPv6 for Win32 | Igor Sysoev | 2009-05-07 |
| | |||
* | prepare ngx_ptocidr() for IPv6 | Igor Sysoev | 2009-02-24 |
| | |||
* | fix upstream port, introduced in r2513 | Igor Sysoev | 2009-02-21 |
| | |||
* | a prelimiary IPv6 support, HTTP listen | Igor Sysoev | 2009-02-21 |
| | |||
* | style fix: remove trailing spaces | Igor Sysoev | 2008-11-11 |
| | |||
* | fix case proxy_pass URL is evaluted to http://host?args | Igor Sysoev | 2008-10-24 |
| | |||
* | fix case when URL has no port, but has ":" in URI part, | Igor Sysoev | 2008-10-24 |
| | | | | the bug has been introduced in r2204 | ||
* | fix bugs introduced in r2204 | Igor Sysoev | 2008-08-26 |
| | |||
* | *) refactor ngx_parse_inet_url() | Igor Sysoev | 2008-08-26 |
| | | | | | *) refactor ngx_parse_unix_domain_url() *) delete unused ngx_url_t fields | ||
* | *) refactor ngx_ptocidr() | Igor Sysoev | 2008-08-26 |
| | | | | | *) allow address without bitmask *) thus now ngx_http_geo_module accepts addresses without bitmask | ||
* | split ngx_parse_url() | Igor Sysoev | 2008-08-22 |
| | |||
* | ngx_sock_ntop() takes family from sockaddr, remove duplicate field | Igor Sysoev | 2008-08-21 |
| | |||
* | *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop() | Igor Sysoev | 2008-08-21 |
| | | | | | | *) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop() as they are called just once per connection *) NGX_INET_ADDRSTRLEN | ||
* | *) back out r2040 | Igor Sysoev | 2008-06-17 |
| | | | | | | *) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header | ||
* | fix building by bcc introduced by r1831 | Igor Sysoev | 2008-01-22 |
| | |||
* | change order | Igor Sysoev | 2008-01-04 |
| | |||
* | ngx_parse_url() saves port text, this allows to use it in proxy host header | Igor Sysoev | 2007-11-28 |
| | |||
* | ngx_inet_addr() | Igor Sysoev | 2007-11-23 |
| |