nginx_tcp_proxy_module icon indicating copy to clipboard operation
nginx_tcp_proxy_module copied to clipboard

Is there any chance to make tcp proxy connection keepalive?

Open draculaw opened this issue 12 years ago • 2 comments

I am using this cool module for proxy between sql client and server. Is there any chance to make the sql connection alive but not timedout? i am trying modify the ev->timedout conditions but not sure the influence for the system.

I am using the Tengine version.

draculaw avatar Jun 07 '13 09:06 draculaw

Yes, try this configure: https://github.com/yaoweibin/nginx_tcp_proxy_module/wiki/TIME_OUT

Good luck.

yaoweibin avatar Jun 07 '13 15:06 yaoweibin

Does the directive timeout mean that when the connection to upstream server does not read or write any data in that time, ngx_tcp_proxy will close this connection ?

ideal avatar Nov 01 '13 09:11 ideal