aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2017-04-11 16:41:53 +0300
committerRoman Arutyunyan <arut@nginx.com>2017-04-11 16:41:53 +0300
commit05841adfb2e5d50dee066b6f92cbb95b78c5b725 (patch)
tree5c719a5c7ae8d897244cfa94639cf65337342fba /src/os/unix/ngx_process.c
parent62b20ce87ae9dda51010742523ccad9650380f11 (diff)
downloadnginx-05841adfb2e5d50dee066b6f92cbb95b78c5b725.tar.gz
nginx-05841adfb2e5d50dee066b6f92cbb95b78c5b725.zip
Set UDP datagram source address (ticket #1239).
Previously, the source IP address of a response UDP datagram could differ from the original datagram destination address. This could happen if the server UDP socket is bound to a wildcard address and the network interface chosen to output the response packet has a different default address than the destination address of the original packet. For example, if two addresses from the same network are configured on an interface. Now source address is set explicitly if a response is sent for a server UDP socket bound to a wildcard address.
Diffstat (limited to 'src/os/unix/ngx_process.c')
0 files changed, 0 insertions, 0 deletions