No description
Find a file
Maxim Dounin 1881445bba Simplified ngx_http_init_listening().
There is no need to set "i" to 0, as it's expected to be 0 assuming
the bindings are properly sorted, and we already rely on this when
explicitly set hport->naddrs to 1.  Remaining conditional code is
replaced with identical "hport->naddrs = i + 1".

Identical modifications are done in the mail and stream modules,
in the ngx_mail_optimize_servers() and ngx_stream_optimize_servers()
functions, respectively.

No functional changes.
2015-05-20 15:51:28 +03:00
auto Configure: style. 2015-05-20 15:51:13 +03: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.9.0-RELEASE 2015-04-28 18:31:17 +03:00
misc Added stream module to win32 builds. 2015-04-27 18:51:18 +03:00
src Simplified ngx_http_init_listening(). 2015-05-20 15:51:28 +03:00