nginx/src
Ruslan Ermilov 3352461916 Upstream: detect port absence in fastcgi_pass with IP literal.
If fastcgi_pass (or any look-alike that doesn't imply a default
port) is specified as an IP literal (as opposed to a hostname),
port absence was not detected at configuration time and could
result in EADDRNOTAVAIL at run time.

Fixed this in such a way that configs like

http {
    server {
        location / {
            fastcgi_pass 127.0.0.1;
        }
    }

    upstream 127.0.0.1 {
        server 10.0.0.1:12345;
    }
}

still work.  That is, port absence check is delayed until after
we make sure there's no explicit upstream with such a name.
2015-01-22 16:23:32 +03:00
..
core Version bump. 2015-02-11 15:51:03 +03:00
event SSL: safeguard use of SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS. 2014-12-17 15:12:50 +01:00
http Upstream: detect port absence in fastcgi_pass with IP literal. 2015-01-22 16:23:32 +03:00
mail Mail: initialize the "signature" field of ngx_mail_session_t. 2014-09-01 17:50:59 +04:00
misc Style: fix typo. 2014-07-08 03:03:14 -07:00
mysql Copyright updated. 2012-01-18 15:07:43 +00:00
os Fixed sendfile() trailers on OS X (8e903522c17a, 1.7.8). 2015-01-13 18:58:23 +03:00