Duplicated requests to the backend on pipelined requests
Describe the issue The issue appears when, after processing some pipelined requests, the backend closes the connection midway. As a result, we see additional duplicated requests to the backend from Tempesta after all unique requests have been sent.
The test case closes the connection after every 4th request. For example:
- With 7 requests, we see 2 extra (duplicated) requests at the end.
- With 10 requests, we see 3 extra requests at the end.
It seems that every 4th request is duplicated one or more times.
Expected Behavior No duplicated requests
To Reproduce ./run_tests.py -H t_pipelining/test_pipelining.py and select TestPipelineResponsesOrderWithClosingConnection
Version or commit hash current master https://github.com/tempesta-tech/tempesta/commit/b150f736fd4372dfbb0b03b2b777cef4fed41f6e
Related to: https://github.com/tempesta-tech/tempesta-test/pull/808 https://github.com/tempesta-tech/tempesta/issues/682