From 3db50dff1dc0e05fcf8e47251888a30aa6574955 Mon Sep 17 00:00:00 2001 From: Susan Hinrichs Date: Fri, 18 Jun 2021 18:52:41 +0000 Subject: [PATCH] Fix double test flakiness due to EOS/TXN_CLOSE race --- proxy/http/Http1ClientTransaction.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy/http/Http1ClientTransaction.cc b/proxy/http/Http1ClientTransaction.cc index 337f2c5a53e..128b90d149e 100644 --- a/proxy/http/Http1ClientTransaction.cc +++ b/proxy/http/Http1ClientTransaction.cc @@ -28,6 +28,10 @@ void Http1ClientTransaction::release() { + // Turn off reading until we are done with the SM + // At that point the transaction/session with either be closed + // or be put into keep alive state to wait from the next transaction + this->do_io_read(this, 0, nullptr); _proxy_ssn->clear_session_active(); }