Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1325

Netty server should close idle connections.

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.17.Final
    • Component/s: None
    • Labels:
      None

      Description

      Netty server adapter should handle client idle when there is no traffic within a certain amount of time.
      Currently, if client open connection without sending any message. The connection will keep open.
      If there is no Connection: close header, the connection will keep open.
      Unless there is "Connection: close" header, they always require client to close.
      For Jetty, the default idleTimeOut for Connector is 30 seconds.
      Even I can add an IdleHandler to NettyJaxrsServer.addChannelHandlers, it's better to build in NettyJaxrsServer and add setter and attribute for idleTimeOut.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                weinanli Weinan Li
                Reporter:
                hrqiang Ruiqiang Huang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: