Hello,

Glad to see progress on this, much needed.

I wonder if there is a better way for safe and dynamic string concatenation in 
the JDK, this errmsg[56] looks scary.

Did you tried to support it on Windows, even if it does not support all 3 
parameters it might be important to be available (I think Oracle Database 
supports it for DCD on Windows, too)

Gruss
Bernd

Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: net-dev <net-dev-boun...@openjdk.java.net> on behalf of vyom tewari 
<vyom.tew...@oracle.com>
Sent: Friday, April 13, 2018 11:50:39 AM
To: OpenJDK Network Dev list
Subject: RFR:8194298 Add support for per Socket configuration of TCP keepalive

Hi All,

Please review the below code.

BugId    : https://bugs.openjdk.java.net/browse/JDK-8194298

webrev : http://cr.openjdk.java.net/~vtewari/8194298/webrev0.0/index.html

Currently Java supports SO_KEEPALIVE, whose default value is 7200
seconds which is too long for most of the applications. This code change
will allow us to set the keepalive
parameters(TCP_KEEPIDLE,TCP_KEEPCNT,TCP_KEEPINTVL)  which will configure
the idle time on per socket basis.

I did code changes for Linux & Mac only, support for other platforms can
be added in future if needed.

Thanks,

Vyom

Reply via email to