commit | e6ce323dae6a10bcf8be3bd900067f311d71d781 | [log] [tgz] |
---|---|---|
author | Brian de Alwis <bsd@acm.org> | Sun May 16 22:44:22 2021 -0400 |
committer | Brian de Alwis <bsd@acm.org> | Sun May 16 23:27:39 2021 -0400 |
tree | 1754cc85e03f73154be3ad10a30239af4e51d801 | |
parent | e3d4b89af1160a808863392df872abcc726939f9 [diff] |
Fix tests for Apache HTTP Client 4.5 and greater Must explicitly close the underlying HttpClient instance to ensure pooled connections are closed between between tests. Otherwise stale connections exist from previous test and which fail on use with NoHttpResponseException errors. https://hc.apache.org/httpcomponents-client-4.5.x/current/tutorial/html/connmgmt.html#d5e401 Change-Id: I318ea1006e8d7453d95960f5d33bbff2bb36735a Signed-off-by: Brian de Alwis <bsd@acm.org>