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

bad read timeout message

    XMLWordPrintable

Details

    Description

      ReadTimeoutStreamSourceConduit.checkExpired uses a bad time parameter in its readTimedOut exception:

          private void checkExpired() throws ReadTimeoutException {
              synchronized (this) {
                  if (expired) {
                      throw UndertowMessages.MESSAGES.readTimedOut(System.currentTimeMillis());
                  }
              }
          }
      

      This results in a debug message that doesn't make sense with an incorrect timeout duration:

      DEBUG [io.undertow.request.io] (default I/O-14) UT005013: An IOException occurred: org.xnio.channels.ReadTimeoutException: UT000199: Read timed out after 1638571000771 milliseconds.
      

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: UNDERTOW

              People

                rhn-cservice-bbaranow Bartosz Baranowski
                rhn-support-aogburn Aaron Ogburn
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: