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

Netty server should close idle connections.

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 3.0.17.Final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              weinanli Weinan Li
              hrqiang Ruiqiang Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: