Welcome! Log In Create A New Profile

Advanced

Reg. nginx_tcp_proxy_module

ESWAR RAO
April 23, 2013 02:30AM
Hi All,

I have a below setup:

netcat client (nc localhost 8081) =====>nginx server(8081) with tcp_proxy
module=====>2 netcat servers(8031 and 8032)

$ nc localhost 8081
biiiiiiiiiiiiiiiiii

$ nc -lk 8031
biiiiiiiiiiiiiiiiii

$ nc -lk 8032


If I kill the process $ nc -lk 8031, the client is also getting killed.

I expect the nginx server would read 0 bytes upon closing the connection to
8031 server and it detects the server failover and it establishes the
connection to 8032 server so that the clients won't experience any
downtime. Since the client establishes connection to only nginx at 8081, it
should be shielded from failover of 8031 server.

Can anyone please help me if my understanding is wrong ??

Thanks
Eswar Rao
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reg. nginx_tcp_proxy_module

ESWAR RAO April 23, 2013 02:30AM

Re: Reg. nginx_tcp_proxy_module

Maxim Dounin April 23, 2013 03:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready