I'm filing this case for Gary as closed-approved-automatic, as it seems an 
obvious extension to existing interface.  As usual, speak up if you'd like 
to see it promoted to a fasttrack.

liane

---

tcp_keepalive For inetd Services
Gary Mills
08/27/2009

1. Summary

The inetd restarter defines a set of properties to control the behaviour 
of the services it manages.  This case adds the option `tcp_keepalive' to 
the inetd restarter.  Setting this option enables the TCP keepalive 
facility for connections to services managed by inetd.  It's needed 
because some services do not have the ability to enable this facility by 
themselves.

This property is set to false by default for inetd services, and the 
stability is Committed.

2. Manpage diffs

*** inetd.Ocat    Wed Aug 26 16:39:12 2009
--- inetd.cat    Wed Aug 26 16:40:32 2009
***************
*** 473,478 ****
--- 473,487 ----
            set to true.


+      tcp_keepalive
+
+          If true, enable the periodic transmission of messages on
+          a  connected  socket.  If  the  connected party fails to
+          respond to these  messages,  the  connection   is   con-
+          sidered  broken.  This  applies  only  to  services with
+          endpoint_type set to streams and wait set to false.
+
+
        tcp_trace

            If true, and this is a nowait-type service,  inetd  logs
***************
*** 566,571 ****
--- 575,581 ----
          inherit_env         true
          max_con_rate        -1
          max_copies          -1
+        tcp_keepalive       false
          tcp_trace           false
          tcp_wrappers        false

Reply via email to