nginx/src/http
Maxim Dounin d5c34785bc 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
..
modules Upstream hash: consistency across little/big endianness. 2015-05-18 16:05:44 +03:00
ngx_http_cache.h Cache: added support for reading of the header in thread pools. 2015-04-01 03:49:17 +03:00
ngx_http_config.h Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_http_copy_filter_module.c Added support for offloading read() in thread pools. 2015-03-14 17:37:25 +03:00
ngx_http_core_module.c Removed deprecated HTTP directives. 2015-04-29 13:52:49 +03:00
ngx_http_core_module.h Request body: filters support. 2015-03-23 21:09:19 +03:00
ngx_http_file_cache.c Cache: added support for reading of the header in thread pools. 2015-04-01 03:49:17 +03:00
ngx_http_header_filter_module.c Fixed response line formatting with empty reason phrase. 2013-09-18 18:53:26 +04:00
ngx_http_parse_time.c Fixed compilation with -Wmissing-prototypes. 2012-07-24 15:09:54 +00:00
ngx_http_parse.c Overflow detection in ngx_http_parse_chunked(). 2015-03-17 00:26:27 +03:00
ngx_http_postpone_filter_module.c Fixed error logging. 2013-05-21 17:30:19 +04:00
ngx_http_request_body.c Request body: always flush buffers if request buffering is off. 2015-04-06 19:20:36 +03:00
ngx_http_request.c Core: the ngx_set_connection_log() macro. 2015-04-25 22:44:02 +03:00
ngx_http_request.h Core: the ngx_set_connection_log() macro. 2015-04-25 22:44:02 +03:00
ngx_http_script.c Style. 2013-10-18 18:13:35 +04:00
ngx_http_script.h Copyright updated. 2012-01-18 15:07:43 +00:00
ngx_http_spdy_filter_module.c SPDY: stop emitting multiple empty header values. 2014-10-27 14:25:56 -07:00
ngx_http_spdy_module.c SPDY: macro used for recv_buffer_size initialization. 2014-03-19 12:57:32 +04:00
ngx_http_spdy_module.h SPDY: added the "spdy_chunk_size" directive. 2014-01-14 16:24:45 +04:00
ngx_http_spdy.c SPDY: always push pending data. 2015-03-23 21:04:13 +03:00
ngx_http_spdy.h SPDY: fixed operator precedence in uint16/uint32 write macros. 2014-05-29 21:15:19 +04:00
ngx_http_special_response.c Fixed invalid access to complex value defined as an empty string. 2015-03-31 17:45:50 +03:00
ngx_http_upstream_round_robin.c Upstream: fixed unlocked access to peer->conns. 2015-04-19 22:41:09 +03:00
ngx_http_upstream_round_robin.h Upstream: the "zone" directive. 2015-04-14 19:01:25 +03:00
ngx_http_upstream.c Upstream: $upstream_connect_time. 2015-05-16 01:32:27 +03:00
ngx_http_upstream.h Upstream: $upstream_connect_time. 2015-05-16 01:32:27 +03:00
ngx_http_variables.c Request body: unbuffered reading. 2015-03-23 21:09:19 +03:00
ngx_http_variables.h Removed unused ngx_http_clear_variable() macro. 2013-03-21 16:06:13 +00:00
ngx_http_write_filter_module.c Format specifier fixed for file size of buffers. 2015-03-23 19:28:54 +03:00
ngx_http.c Simplified ngx_http_init_listening(). 2015-05-20 15:51:28 +03:00
ngx_http.h Request body: unbuffered reading. 2015-03-23 21:09:19 +03:00