No description
Find a file
Ruslan Ermilov 075a61e4d7 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
auto Configure: remove outdated and unused patch.zlib.h. 2014-07-31 03:52:28 -07:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: add more directives to vim syntax. 2014-10-22 15:31:19 +02:00
docs nginx-1.7.10-RELEASE 2015-02-10 17:33:32 +03:00
misc Updated OpenSSL used for win32 builds. 2015-02-10 16:54:12 +03:00
src Upstream: detect port absence in fastcgi_pass with IP literal. 2015-01-22 16:23:32 +03:00