stream-lua-nginx-module icon indicating copy to clipboard operation
stream-lua-nginx-module copied to clipboard

UDP/TCP Bind

Open alonbg opened this issue 8 years ago • 4 comments

+tests

alonbg avatar Sep 12 '16 15:09 alonbg

Hi @agentzh Some tests keep failing although all tests pass on my local. Please advise (maybe on a better way to write them :). Thanks!

alonbg avatar Sep 14 '16 16:09 alonbg

What is the status here? Nice effort, but code does not build.

bjne avatar Oct 25 '16 20:10 bjne

@agentzh you suggested having ip_transparent in the setoption api. I'm really not sure this is the way to go since there is a dependency between ip_transparent and bind. As in proxy_bind address [transparent] | off; directive which sets sets pc-local which in turn is a condition for checking pc->transparent value. In other words, binding to a local address is a mandatory condition for setting the ip_transparent socket option. Maybe also in our case transparent should be a bind() option instead of a separate api. What do you think ?

alonbg avatar Nov 01 '16 10:11 alonbg

I tend to agree with @alonbg, its closer to the nginx semantics too which is appealing to me.

splitice avatar Nov 01 '16 10:11 splitice