enonic / lib-http-client

Http Client Library for Enonic XP.
Apache License 2.0
0 stars 4 forks source link

Force Connection: close #90

Closed rymsha closed 2 years ago

rymsha commented 2 years ago

lib-http-client never reuses the connection, but OkHttpClient keeps a pool opened ones. It causes resource leaks. Before the #89 we can instruct servers to close connections and OkHttp won't keep connections in pool either.