Allow non-empty connection pools to be dropped (#583)
This breaks a reference cycle between PoolReturner and Agent that was causing Agents (and their contained ConnectionPool) to never be dropped so long as there was any stream in the ConnectionPool. This cause sockets to leak over time, particularly when the convenience functions ureq::get(), ureq::post(), etc were used, since those functions create a new Agent each time.
This commit is contained in:
committed by
GitHub
parent
33fb553a28
commit
498e19943f
@@ -1,3 +1,8 @@
|
||||
# 2.6.2
|
||||
|
||||
## Fixed
|
||||
* Non-empty connection pools were never dropped (#NNN)
|
||||
|
||||
# 2.6.1
|
||||
|
||||
## Fixed
|
||||
|
||||
Reference in New Issue
Block a user