~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to iocore/net/Net.cc

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-05-09 01:00:04 UTC
  • mto: (1.1.11) (5.3.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20130509010004-9fqq9n0adseg3f8w
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
static inline void
38
38
configure_net(void)
39
39
{
40
 
  IOCORE_RegisterConfigUpdateFunc("proxy.config.net.connections_throttle", change_net_connections_throttle, NULL);
41
 
  IOCORE_ReadConfigInteger(fds_throttle, "proxy.config.net.connections_throttle");
42
 
  IOCORE_ReadConfigInteger(throttle_enabled,"proxy.config.net.throttle_enabled");
 
40
  REC_RegisterConfigUpdateFunc("proxy.config.net.connections_throttle", change_net_connections_throttle, NULL);
 
41
  REC_ReadConfigInteger(fds_throttle, "proxy.config.net.connections_throttle");
 
42
  REC_ReadConfigInteger(throttle_enabled,"proxy.config.net.throttle_enabled");
43
43
}
44
44
 
45
45
 
125
125
  NET_CLEAR_DYN_STAT(socks_connections_currently_open_stat);
126
126
#endif
127
127
 
 
128
  RecRegisterRawStat(net_rsb, RECT_PROCESS,
 
129
                     "proxy.process.net.inactivity_cop_lock_acquire_failure",
 
130
                     RECD_INT, RECP_NULL, (int) inactivity_cop_lock_acquire_failure_stat,
 
131
                     RecRawStatSyncSum);
 
132
 
128
133
}
129
134
 
130
135
void