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

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

XMLWordPrintable

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

      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?

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

                Created:
                Updated:
                Resolved: