| commit | a5117ea93c6150e631d4a98ad1f19e41cebed1ee | [log] [tgz] |
|---|---|---|
| author | Roman Arutyunyan <arut@nginx.com> | Mon Jun 20 12:48:47 2016 +0300 |
| committer | Roman Arutyunyan <arut@nginx.com> | Mon Jun 20 12:48:47 2016 +0300 |
| tree | cd5dbcbca88cc7a9eddfb712d26a8308caae81c1 | |
| parent | cfb2ef9e5ad8f0b85974ffda50e334cbc1ebde7f [diff] |
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.