Project

General

Profile

« Previous | Next » 

Revision 9596

Added by Jing Tao over 8 years ago

Made the ssl http client not moinitor the stale connections.

View differences:

src/edu/ucsb/nceas/metacat/replication/ReplicationService.java
2392 2392
	                    .setConnectionRequestTimeout(CLIENTTIMEOUT)
2393 2393
	                    .setConnectTimeout(CLIENTTIMEOUT)
2394 2394
	                    .setSocketTimeout(CLIENTTIMEOUT).build();
2395
	            HttpClient hc = HttpUtils.getHttpClientBuilder(HttpUtils.selectSession(subject))
2395
	            Boolean monitorStaleConnections = false;
2396
	            HttpClient hc = HttpUtils.getHttpClientBuilder(HttpUtils.selectSession(subject), monitorStaleConnections)
2396 2397
	                    .setDefaultRequestConfig(rc)
2397 2398
	                    .build();
2398 2399
	            

Also available in: Unified diff