Repository: trafficserver
Updated Branches:
  refs/heads/master 06f7f7aed -> c53eb2e01


TS-153: Fixed typo on method name


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c53eb2e0
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c53eb2e0
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c53eb2e0

Branch: refs/heads/master
Commit: c53eb2e011b271db672c299b8fa4049be210ce4b
Parents: 06f7f7a
Author: Bryan Call <[email protected]>
Authored: Tue Jan 27 14:21:52 2015 -0800
Committer: Bryan Call <[email protected]>
Committed: Tue Jan 27 14:21:52 2015 -0800

----------------------------------------------------------------------
 iocore/net/UnixNet.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c53eb2e0/iocore/net/UnixNet.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNet.cc b/iocore/net/UnixNet.cc
index f528f15..7bc6c19 100644
--- a/iocore/net/UnixNet.cc
+++ b/iocore/net/UnixNet.cc
@@ -106,7 +106,7 @@ public:
     return 0;
   }
   void set_max_connections(const int32_t x) { max_connections_in = x; }
-  void set_connections_pre_thread(const int32_t x) { connections_per_thread_in 
= x; }
+  void set_connections_per_thread(const int32_t x) { connections_per_thread_in 
= x; }
 private:
   void keep_alive_lru(NetHandler &nh, ink_hrtime now, Event *e);
   int default_inactivity_timeout;  // only used when one is not set for some 
bad reason
@@ -122,7 +122,7 @@ update_cop_config(const char *name, RecDataT data_type 
ATS_UNUSED, RecData data,
     Debug("inactivity_cop_dynamic", "proxy.config.net.max_connections_in 
change: %" PRId64, data.rec_int);
     InactivityCop *cop = static_cast<InactivityCop*>(cookie);
     cop->set_max_connections(data.rec_int);
-    cop->set_connections_pre_thread(0);
+    cop->set_connections_per_thread(0);
   }
   return REC_ERR_OKAY;
 }

Reply via email to