You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by wk...@apache.org on 2022/12/15 01:33:13 UTC

[trafficserver] branch master updated: In HttpSM, remove pointless use of protected rather than private. (#9254)

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

wkaras 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 35319728d In HttpSM, remove pointless use of protected rather than private. (#9254)
35319728d is described below

commit 35319728d7b29cd909669b3cb8948d7c888cc1ab
Author: Walt Karas <wk...@yahoo-inc.com>
AuthorDate: Wed Dec 14 19:33:07 2022 -0600

    In HttpSM, remove pointless use of protected rather than private. (#9254)
    
    Co-authored-by: Walt Karas <wk...@yahooinc.com>
---
 proxy/http/HttpSM.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/proxy/http/HttpSM.h b/proxy/http/HttpSM.h
index a2c74d00d..2b1f9bb23 100644
--- a/proxy/http/HttpSM.h
+++ b/proxy/http/HttpSM.h
@@ -344,7 +344,7 @@ public:
   void check_sni_host();
   SNIRoutingType get_tunnel_type() const;
 
-protected:
+private:
   int reentrancy_count = 0;
 
   HttpTunnel tunnel;
@@ -360,7 +360,7 @@ public:
 
   ProxyTransaction *ua_txn = nullptr;
 
-protected:
+private:
   IOBufferReader *ua_raw_buffer_reader = nullptr;
 
   HttpVCTableEntry *ua_entry     = nullptr;
@@ -573,7 +573,7 @@ public:
   //  do_api_callout_internal()
   bool hooks_set = false;
 
-protected:
+private:
   TSHttpHookID cur_hook_id = TS_HTTP_LAST_HOOK;
   APIHook const *cur_hook  = nullptr;
   HttpHookState hook_state;