Mercurial > hg > nginx
comparison src/event/modules/ngx_devpoll_module.c @ 6596:e778fe9a4463
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 20 Jun 2016 12:48:47 +0300 |
parents | d17f0584006f |
children | 75dbab4ea930 |
comparison
equal
deleted
inserted
replaced
6595:0c98c4092440 | 6596:e778fe9a4463 |
---|