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

ResponseRateLimitingHandler should not write more than the response limit within the given time period

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.2.Final, 1.2.0.Beta7
    • 1.2.0.Beta3
    • Core
    • None

    Description

      The handler writes always more than the specified limit. Because of this, the handler calculates n * units for the time to sleep. So, in my test the handler slept always 2s instead of 1s.

      The handler shall not exceed the specified limit and also should not sleep unneccessarily.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            rbattenfeld Ralf Battenfeld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: