Closed rymsha closed 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.
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.