aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_inet.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2016-06-20 12:48:47 +0300
committerRoman Arutyunyan <arut@nginx.com>2016-06-20 12:48:47 +0300
commit4c03c80e12158bd6daf3c6608aca3e3acce56640 (patch)
treecd5dbcbca88cc7a9eddfb712d26a8308caae81c1 /src/core/ngx_inet.c
parent05879309c11a6b62be2ffe89882cf5d8ddc1427f (diff)
downloadnginx-4c03c80e12158bd6daf3c6608aca3e3acce56640.tar.gz
nginx-4c03c80e12158bd6daf3c6608aca3e3acce56640.zip
Stream: set SO_REUSEADDR for UDP upstream sockets.
The option is only set if the socket is bound to a specific port to allow several such sockets coexist at the same time. This is required, for example, when nginx acts as a transparent proxy and receives two datagrams from the same client in a short time. The feature is only implemented for Linux.
Diffstat (limited to 'src/core/ngx_inet.c')
0 files changed, 0 insertions, 0 deletions