[DoT] Improve pipelining
This is a refactoring of the pipelining
option with the ability to use --delay
with it.
This hides the pipelining code inside the module. You only need to provide a list of requests and the value for max-in-flight
and a potential delay
between each query.
This also improves the timeout calculation by resetting the starting time after a query is sent.
This work still needs to be heavily tested. And I am wondering how to test the pipelining behaviour with the testing tool.
Edited by alex