Skip to content

Commit fc703a6

Browse files
authored
Fix double test flakiness due to EOS/TXN_CLOSE race (#7956)
1 parent 2d6a0a6 commit fc703a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proxy/http/Http1ClientTransaction.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
void
2929
Http1ClientTransaction::release()
3030
{
31+
// Turn off reading until we are done with the SM
32+
// At that point the transaction/session with either be closed
33+
// or be put into keep alive state to wait from the next transaction
34+
this->do_io_read(this, 0, nullptr);
3135
_proxy_ssn->clear_session_active();
3236
}
3337

0 commit comments

Comments
 (0)