Simone Bordet de2d764290 Fixes #6254 - Total timeout not enforced for queued requests.
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 5f23689aa7f44c0660ba2ad92c7c6a15d7c4af15)
(cherry picked from commit da50e06b640d448d42e642c842cf9bc647797a49)
(cherry picked from commit 88ac10439a8b5ec1c34aaab4ccbf0f590aee33f8)
2021-05-12 10:19:11 +02:00
..
2021-03-26 06:31:31 +00:00