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

Option to enable read and write timeouts only for undertow blocking operations

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.2.0.Final
    • None
    • Core
    • None

    Description

      Currently undertow provides read, write, and idle timeouts, which apply to all operations in ways that can unexpectedly cause issues, for example a read timeout can cause websockets to fail when it's meant to defensively stop servlet requests from holding worker threads longer than necessary.
      A filter or handler to interrupt long-running operations can leave the connection in an undesirable state, and isn't guaranteed to close the connection.
      A preferable and less dangerous solution is to provide an API to set timeouts which apply to blocking reads and writes on interactions with a BlockingHttpExchange.

      Thoughts?

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            carterkozak Carter Kozak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: