diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-09-30 16:36:57 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-09-30 16:36:57 +0300 |
commit | c5cb2432c473a00a8af69b8930b268552afce85b (patch) | |
tree | d2a08364444550a4ff9ef66d07913f16aa56ea54 /test/unit/check/node.py | |
parent | 153e8a87792ecc5dee12ba1f261fe1340a800a90 (diff) | |
download | unit-c5cb2432c473a00a8af69b8930b268552afce85b.tar.gz unit-c5cb2432c473a00a8af69b8930b268552afce85b.tar.bz2 |
Fixing router connection pool leakage.
The connection's local socket address is allocated from the connection
pool before the request is passed to the application; however, with keep-alive
connections, this field was unconditionally reset by a socket configuration
value that could be NULL. For the next request, the address was allocated
again from the same connection pool. Nonetheless, all leaked addresses
were released when the connection was closed.
The issue introduced in changeset 5c7dd85fabd5.
Diffstat (limited to 'test/unit/check/node.py')
0 files changed, 0 insertions, 0 deletions