You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2017/09/28 01:36:42 UTC

[trafficserver] branch quic-latest updated: Call set_parent() to set host_res_style when start HQClientTransaction

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

masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 230216c  Call set_parent() to set host_res_style when start HQClientTransaction
230216c is described below

commit 230216c7cd4fbbc971271cd04d47098a29a3a7c0
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Thu Sep 28 10:36:24 2017 +0900

    Call set_parent() to set host_res_style when start HQClientTransaction
---
 proxy/hq/HQClientTransaction.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/hq/HQClientTransaction.cc b/proxy/hq/HQClientTransaction.cc
index 92d8d36..4cb6283 100644
--- a/proxy/hq/HQClientTransaction.cc
+++ b/proxy/hq/HQClientTransaction.cc
@@ -41,8 +41,8 @@ dump_io_buffer(IOBufferReader *reader)
 HQClientTransaction::HQClientTransaction(HQClientSession *session, QUICStreamIO *stream_io) : super(), _stream_io(stream_io)
 
 {
-  this->mutex     = new_ProxyMutex();
-  this->parent    = session; //       trans.set_parent();
+  this->mutex = new_ProxyMutex();
+  this->set_parent(session);
   this->sm_reader = this->_read_vio_buf.alloc_reader();
   static_cast<HQClientSession *>(this->parent)->add_transaction(this);
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].