]> git.kaiwu.me - nginx.git/commit
Core: make ngx_connection_local_sockaddr() always assign address.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 17 Feb 2015 11:26:44 +0000 (14:26 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 17 Feb 2015 11:26:44 +0000 (14:26 +0300)
commit6337c1d185d4afef6045d51d0382a06c7e66d4f4
treec4cc360393a1c4899496bfbb24b8592911ede7d0
parent7f3f7fec770ae7af8208fd5cd2a22ca87814ccb1
Core: make ngx_connection_local_sockaddr() always assign address.

Previously, this function checked for connection local address existence
and returned error if it was missing.  Now a new address is assigned in this
case making it possible to call this function not only for accepted connections.
src/core/ngx_connection.c