Vladimir Homutov
df555ffce6
Core: the ngx_set_connection_log() macro.
...
The http and stream versions of this macro were identical.
2015-04-25 22:44:02 +03:00
Roman Arutyunyan
39386c951c
Stream: prevent repeated event notifications after eof.
...
When client or upstream connection is closed, level-triggered read event
remained active until the end of the session leading to cpu hog. Now the flag
NGX_CLOSE_EVENT is used to unschedule the event.
2015-04-22 19:55:04 +03:00
Ruslan Ermilov
25ddb49dbe
Upstream: allow multiple upstreams to use the same shared zone.
2015-04-22 18:37:34 +03:00
Ruslan Ermilov
673941f81d
Upstream: simplified ip_hash and hash peer selection code.
...
Now that peers are stored as a list, the weighted and unweighted
cases became nearly identical.
2015-04-21 19:09:04 +03:00
Ruslan Ermilov
c799c82faa
Stream: port from NGINX+.
2015-04-20 13:05:11 +03:00