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

awaitReadable/awaitWritable can block forever using http/2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.30.Final
    • 2.0.29.Final
    • None
    • None

      Applying timeouts to blocking operations (as described in UNDERTOW-1622) allows us to avoid waiting forever, but we should avoid getting into this situation entirely if possible.
      In practice we've found several http/2 requests a day that should take a few milliseconds get stuck as described, normally while reading data from a small request body.
      Unfortunately awaitReadable and awaitWritable block beyond when the connections are closed.

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

                Created:
                Updated:
                Resolved: