Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14980

Provide default read and write-timeouts for Socket listeners

    XMLWordPrintable

Details

    Description

      We ran into issues with too many open files due to TCP threads not closing. Undertow should provide default read and write timeouts for HTTP and HTTPS listeners.

        <xs:complexType name="socket-options-type">
              <xs:attribute name="receive-buffer" type="xs:int"/>
              <xs:attribute name="send-buffer" type="xs:int"/>
              <xs:attribute name="tcp-backlog" type="xs:int" default="10000"/>
              <xs:attribute name="tcp-keep-alive" type="xs:boolean"/>
              <xs:attribute name="read-timeout" type="xs:long"/>
              <xs:attribute name="write-timeout" type="xs:long"/>
              <xs:attribute name="max-connections" type="xs:int"/>
      </xs:complexType>
      

      read-timeout and write-timeout should have default timeouts.

      Attachments

        Issue Links

          Activity

            People

              rhn-cservice-bbaranow Bartosz Baranowski
              kgrueneberg_jira Kevin Grüneberg (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: