xiaokai-wang / nginx-stream-upsync-module

For stream protocol. syncing upstreams from etcd or consul and so on, dynamically updating backend servers attribute, not need to reload nginx for tcp protocol, stream configure.
175 stars 48 forks source link

Backport ETCD fix from upsync-module #5

Closed CallMeFoxie closed 8 years ago

CallMeFoxie commented 8 years ago

I have (hopefully successfully) backported the ETCD fixes from the main upsync-module to stream-upsync-module.

Compiles fine, have no way of testing it this week though, possibly the next one.

CallMeFoxie commented 8 years ago

Or not, was curious so I compiled it and tested it now :) @40000000575961872135b38c 2016/06/09 14:30:53 [info] 23329#0: 2 udp client 127.0.0.1:42965 connected to 127.10.10.12:53 @40000000575961872135bb5c 2016/06/09 14:30:53 [info] 23329#0: 2 udp proxy 192.168.x.y:60827 connected to 10.a.b.c:53

seems to work fine :)

xiaokai-wang commented 8 years ago

thanks @CallMeFoxie