Roman Arutyunyan
f1f419fd2c
Stream: initialize variable right before using it.
2016-02-11 14:20:26 +03:00
Roman Arutyunyan
1cdd0cc421
Stream: removed useless typedef.
2016-02-11 14:20:22 +03:00
Ruslan Ermilov
0079f29326
Stream: delete proxy connection timer after SSL handshake.
...
The timer remained active and could drop active SSL connection.
2015-10-06 08:57:09 +03:00
Maxim Dounin
84b0ad63fb
Win32: MSVC 2015 compatibility.
...
Resolved warnings about declarations that hide previous local declarations.
Warnings about WSASocketA() being deprecated resolved by explicit use of
WSASocketW() instead of WSASocket(). When compiling without IPv6 support,
WinSock deprecated warnings are disabled to allow use of gethostbyname().
2015-08-17 18:09:17 +03:00
Vladimir Homutov
75dcdc2269
Style.
2015-08-12 12:56:59 +03:00
Vladimir Homutov
b537def75e
Stream: the "tcp_nodelay" directive.
2015-08-10 12:14:41 +03:00
Roman Arutyunyan
29cebe5d63
Stream: deprecated proxy_downstream_buffer, proxy_upstream_buffer.
...
The directive proxy_buffer_size should be used instead.
2015-07-30 16:43:48 -07:00
Roman Arutyunyan
96507dabcc
Style.
2015-07-29 14:36:36 -07:00
Roman Arutyunyan
3c8aaf830f
Stream: added proxy_buffer_size to set the size of data buffers.
...
Both download and upload buffers now have the same size. The old directives
proxy_downstream_buffer and proxy_upstream_buffer are removed.
2015-07-29 13:46:26 -07:00
Roman Arutyunyan
f1dbcf61a2
Stream: renamed rate limiting directives.
...
The directive proxy_downstream_limit_rate is now called proxy_upload_rate.
The directive proxy_upstream_limit_rate is now called proxy_download_rate.
2015-07-14 09:38:13 -07:00
Valentin Bartenev
cd17f869cf
Stream: fixed possible integer overflow in rate limiting.
2015-07-02 17:20:29 +03:00
Roman Arutyunyan
035732696d
Stream: fixed MSVC compilation warning.
...
Thanks to itpp2012.
2015-07-02 17:15:32 +03:00
Roman Arutyunyan
f81ae4e392
Stream: upstream "connected" flag.
...
Once upstream is connected, the upstream buffer is allocated. Previously, the
proxy module used the buffer allocation status to check if upstream is
connected. Now it's enough to check the flag.
2015-06-25 12:36:52 +03:00
Roman Arutyunyan
74942045d5
Stream: upstream and downstream limit rates.
2015-06-23 20:17:48 +03:00
Roman Arutyunyan
62959c9133
Stream: common handler for upstream and downstream.
2015-06-23 20:17:47 +03:00
Roman Arutyunyan
3ed1b3b5b0
Stream: client-side PROXY protocol.
...
The new directive "proxy_protocol" toggles sending out PROXY protocol header
to upstream once connection is established.
2015-06-16 13:45:16 +03:00
Vladimir Homutov
f50f83a2cf
Stream: the "proxy_bind" directive.
2015-06-16 09:02:45 +03:00
Vladimir Homutov
d56b84b783
Stream: added postconfiguration method to stream modules.
2015-06-09 13:00:45 +03:00
Maxim Dounin
724f0f028e
Disabled SSLv3 by default (ticket #653 ).
2015-05-25 17:58:20 +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
c799c82faa
Stream: port from NGINX+.
2015-04-20 13:05:11 +03:00