You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/04/21 01:05:37 UTC

[trafficserver] branch master updated: is_transparent_passthrough_allowed always returns false

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

amc 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  4577fec   is_transparent_passthrough_allowed always returns false
4577fec is described below

commit 4577fecbd57813d386c3bc7e3e070005e4bb86d2
Author: Yakov Kopel <ya...@gmail.com>
AuthorDate: Sun Feb 19 10:05:43 2017 +0200

    is_transparent_passthrough_allowed always returns false
    
    In the "parent" class "ProxyClientSession.h" the function "is_transparent_passthrough_allowed()" always return false (hard-coded). The inherited class "Http1ClientSession.h" contains internal variable "f_transparent_passthrough" but doesn't implement the "is_transparent_passthrough_allowed()" function to return this its value.
    My commit, just implement the function in the inherited class.
---
 proxy/http/Http1ClientSession.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/proxy/http/Http1ClientSession.h b/proxy/http/Http1ClientSession.h
index 97d64fa..a8ce8c8 100644
--- a/proxy/http/Http1ClientSession.h
+++ b/proxy/http/Http1ClientSession.h
@@ -174,6 +174,12 @@ public:
     return "http";
   }
 
+  virtual bool
+  is_transparent_passthrough_allowed() const
+  {
+    return f_transparent_passthrough;
+  }
+
 private:
   Http1ClientSession(Http1ClientSession &);
 

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