File tree Expand file tree Collapse file tree
java/src/main/java/com/cybersource/ws/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,13 @@ void postDocument(Document request)
6060 throws IOException , TransformerConfigurationException ,
6161 TransformerException , MalformedURLException ,
6262 ProtocolException {
63- HttpClient httpClient = new HttpClient ();
63+
64+ /*
65+ * SimpleHttpConnectionManager(boolean alwaysClose) :
66+ * alwaysClose - if set true, the connection manager will always close connections upon release.
67+ */
68+
69+ HttpClient httpClient = new HttpClient (new SimpleHttpConnectionManager (true ));
6470 setTimeout (httpClient , mc .getTimeout () * 1000 );
6571 setProxy (httpClient );
6672
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ private Utility() {
4848 /**
4949 * Version number of this release.
5050 */
51- public static final String VERSION = "6.2.3 " ;
51+ public static final String VERSION = "6.2.5 " ;
5252
5353 /**
5454 * If in the Request map, a key called "_has_escapes" is present and is set
You can’t perform that action at this time.
0 commit comments