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

Netty server should close idle connections.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.17.Final
    • None
    • None
    • None

      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.

              weli@redhat.com Weinan Li
              hrqiang Ruiqiang Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: