Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1516

WebSocketChannel: idle channel not closed

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 2.0.19.Final
    • Core
    • None

    Description

      As far as I understand, the timeout behavior of a WebSocketChannel is to send a CLOSE frame, and then only close the underlying socket if the client closes the socket or sends a CLOSE frame. [edit: links updated]

      This seems to leak resources when malicious or buggy clients never close the underlying TCP connection and never send a CLOSE frame. I believe it would be desirable for Undertow servers to control their own fate and eventually close channel and thus socket forcefully; what is your position on this behavior?

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            uschi2000 Robert Fink (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: