Incorrectly waiting for the entire timeout duration #595
Labels
Investigation
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Repro
# open new terminal katana -u http://localhost:3000 -duc -timeout 1 katana -u http://localhost:3000 -duc
Expected
Both commands should complete within similar time.
Actual
If we specify a
-timeout 1
flag, the command takes 2 seconds. Otherwise it takes 11(!) seconds. The requests, responses, and output of both commands are identical. The duration difference between the two commands is ~10 seconds, which happens to be the default timeout value. So I'm guessing that katana is waiting this full timeout duration when it shouldn't be, since there is nothing to wait for?More info
Logs
Time comparison
Versions
katana: v1.0.4
The text was updated successfully, but these errors were encountered: