File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
httpclient5/src/main/java/org/apache/hc/client5/http/impl Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 7070import org .apache .hc .core5 .http .protocol .HttpContext ;
7171import org .apache .hc .core5 .io .CloseMode ;
7272import org .apache .hc .core5 .pool .ConnPoolControl ;
73+ import org .apache .hc .core5 .pool .DefaultDisposalCallback ;
7374import org .apache .hc .core5 .pool .LaxConnPool ;
7475import org .apache .hc .core5 .pool .ManagedConnPool ;
7576import org .apache .hc .core5 .pool .PoolConcurrencyPolicy ;
@@ -223,6 +224,7 @@ public PoolingHttpClientConnectionManager(
223224 DEFAULT_MAX_TOTAL_CONNECTIONS ,
224225 timeToLive ,
225226 poolReusePolicy ,
227+ new DefaultDisposalCallback <>(),
226228 null ) {
227229
228230 @ Override
Original file line number Diff line number Diff line change 7777import org .apache .hc .core5 .http2 .ssl .ApplicationProtocol ;
7878import org .apache .hc .core5 .io .CloseMode ;
7979import org .apache .hc .core5 .pool .ConnPoolControl ;
80+ import org .apache .hc .core5 .pool .DefaultDisposalCallback ;
8081import org .apache .hc .core5 .pool .LaxConnPool ;
8182import org .apache .hc .core5 .pool .ManagedConnPool ;
8283import org .apache .hc .core5 .pool .PoolConcurrencyPolicy ;
@@ -181,6 +182,7 @@ public PoolingAsyncClientConnectionManager(
181182 DEFAULT_MAX_TOTAL_CONNECTIONS ,
182183 timeToLive ,
183184 poolReusePolicy ,
185+ new DefaultDisposalCallback <>(),
184186 null ) {
185187
186188 @ Override
You can’t perform that action at this time.
0 commit comments