< prev index next >
src/java.httpclient/share/classes/java/net/http/ConnectionPool.java
Print this page
*** 33,43 ****
* Http 1.1 connection pool.
*/
class ConnectionPool {
static final long KEEP_ALIVE = Utils.getIntegerNetProperty(
! "sun.net.httpclient.keepalive.timeout", 1200); // seconds
// Pools of idle connections
final HashMap<CacheKey,LinkedList<HttpConnection>> plainPool;
final HashMap<CacheKey,LinkedList<HttpConnection>> sslPool;
--- 33,43 ----
* Http 1.1 connection pool.
*/
class ConnectionPool {
static final long KEEP_ALIVE = Utils.getIntegerNetProperty(
! "java.net.httpclient.keepalive.timeout", 1200); // seconds
// Pools of idle connections
final HashMap<CacheKey,LinkedList<HttpConnection>> plainPool;
final HashMap<CacheKey,LinkedList<HttpConnection>> sslPool;
< prev index next >