Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6254 - Total timeout not enforced for queued requests. #6258

Merged

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented May 11, 2021

Fixed logic in HttpDestination.RequestTimeouts, where now a timeout
is scheduled only when the expiration time is less than the existing one.
Various code cleanups.
Renamed HttpDestination.TimeoutTask to RequestTimeouts for clarity.
Improved javadocs, code comments and logging.

Signed-off-by: Simone Bordet simone.bordet@gmail.com
(cherry picked from commit 5f23689)
(cherry picked from commit da50e06)
(cherry picked from commit 88ac104)

Fixed logic in HttpDestination.RequestTimeouts, where now a timeout
is scheduled only when the expiration time is less than the existing one.
Various code cleanups.
Renamed HttpDestination.TimeoutTask to RequestTimeouts for clarity.
Improved javadocs, code comments and logging.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 5f23689)
(cherry picked from commit da50e06)
(cherry picked from commit 88ac104)
@sbordet sbordet requested a review from gregw May 11, 2021 23:42
@sbordet
Copy link
Contributor Author

sbordet commented May 11, 2021

Forward port of #6257.

@sbordet sbordet linked an issue May 11, 2021 that may be closed by this pull request
@sbordet sbordet merged commit de2d764 into jetty-10.0.x May 12, 2021
@sbordet sbordet deleted the jetty-10.0.x-6254-queued-request-total-timeout branch May 12, 2021 08:19
@sbordet sbordet added this to In progress in Jetty 10.0.3/11.0.3 via automation May 19, 2021
@sbordet sbordet moved this from In progress to Done in Jetty 10.0.3/11.0.3 May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Total timeout not enforced for queued requests
2 participants