Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308593

Add KEEPALIVE Extended Socket Options Support for Windows

XMLWordPrintable

    • b08
    • windows

        The mssql-jdbc driver uses the keepAliveTime and keepAliveInterval socket options in order to facilitate logic to maintain idle connections to the server. However, this feature of maintaining idle connections by driver is only supported on Linux and Mac as the KEEPALIVE extended socket options are only supported on Linux and Mac within the JDK. In order to maintain feature parity, support for KEEPALIVE socket options need to be implemented within the JDK for Windows. KEEPALIVE extended socket options were originally implemented by JDK-8194298 for Linux and Mac. The main JDK changes would be adding the required native Windows socket API calls in order to set the KEEPALIVE values.

              bstafford Brian Stafford
              scrater Stephanie Crater
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: