apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57955] New: Be able to control the TCP keepalive idle time
Date Wed, 27 May 2015 13:59:49 GMT

            Bug ID: 57955
           Summary: Be able to control the TCP keepalive idle time
           Product: APR
           Version: 1.4.8
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: Diego.SantaCruz@spinetix.com

Created attachment 32759
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32759&action=edit
Implementation of APR_TCP_KEEPALIVE_IDLE

APR currently allows to enable keepalive on sockets via APR_SO_KEEPALIVE.

However, there is no way to control the idle time for TCP.

We have implemented a patch that adds an extra option (APR_TCP_KEEPALIVE_IDLE)
to control the keepalive idle time (in seconds). Setting it to a non-zero value
implicitly enables APR_SO_KEEPALIVE and setting it to zero implicitly disables

For simplicity's sake the interval time is always set to 1 second.

The patch is against APR 1.4.8, but I hope it applies as is to APR 1.5.2 and
trunk. This implementation has been tested on Linux and Win32.

Is this something that could be accepted?

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message