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/12/13 10:10:30 UTC

[trafficserver] branch master updated: Fix a build issue due to recent variable name change

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

maskit 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 c23c838  Fix a build issue due to recent variable name change
c23c838 is described below

commit c23c83852d817bd6253dc6ce3adc6d8f17fe3c8b
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Wed Dec 13 14:33:11 2017 +0900

    Fix a build issue due to recent variable name change
---
 proxy/http/HttpTransact.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 508a56d..dbc6c4a 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -7772,7 +7772,7 @@ HttpTransact::build_response(State *s, HTTPHdr *base_response, HTTPHdr *outgoing
 
   HttpTransactHeaders::add_server_header_to_response(s->txn_conf, outgoing_response);
 
-  if (s->state_machine->ua_session && s->state_machine->ua_session->get_parent()->is_draining()) {
+  if (s->state_machine->ua_txn && s->state_machine->ua_txn->get_parent()->is_draining()) {
     HttpTransactHeaders::add_connection_close(outgoing_response);
   }
 

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