-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.6.3
-
Component/s: Configuration, Connection Management
-
None
-
Environment:java driver
-
Fully Compatible
MongoOptions.java supports the enabling of socket keep alive, yet the option is not accessible through MongoURI.java. Is there a specific reason for this? or can the option be enabled by adding the following code to MongoURI.java in the parseOptions method?
(after line 171 in v2.6.3 of MongoURI.java)
else if ( key.equals( "socketKeepAlive" ) ) _options.autoConnectRetry = _parseBoolean( value );
- related to
-
JAVA-2531 Have TCP keepalive default to true
- Closed