You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/01/18 17:48:52 UTC

[trafficserver] branch master updated: Don't use Http1ClientTransaction as an event handler (#8609)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new b9f0019  Don't use Http1ClientTransaction as an event handler (#8609)
b9f0019 is described below

commit b9f00197c80dd7c70fda39c5cbb04a49bf4448ae
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Wed Jan 19 02:48:41 2022 +0900

    Don't use Http1ClientTransaction as an event handler (#8609)
---
 proxy/http/Http1ClientTransaction.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/Http1ClientTransaction.cc b/proxy/http/Http1ClientTransaction.cc
index 128b90d..3309063 100644
--- a/proxy/http/Http1ClientTransaction.cc
+++ b/proxy/http/Http1ClientTransaction.cc
@@ -31,7 +31,7 @@ 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);
+  this->do_io_read(this->_sm, 0, nullptr);
   _proxy_ssn->clear_session_active();
 }