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

            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: