trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1159655 - in /trafficserver/traffic/trunk: iocore/eventsystem/UnixEventProcessor.cc iocore/net/UnixNetProcessor.cc proxy/http/remap/UrlRewrite.cc
Date Fri, 19 Aug 2011 14:52:24 GMT
Author: amc
Date: Fri Aug 19 14:52:24 2011
New Revision: 1159655

URL: http://svn.apache.org/viewvc?rev=1159655&view=rev
Log:
Fixes for problems in TS-919 and TS-876

Modified:
    trafficserver/traffic/trunk/iocore/eventsystem/UnixEventProcessor.cc
    trafficserver/traffic/trunk/iocore/net/UnixNetProcessor.cc
    trafficserver/traffic/trunk/proxy/http/remap/UrlRewrite.cc

Modified: trafficserver/traffic/trunk/iocore/eventsystem/UnixEventProcessor.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/eventsystem/UnixEventProcessor.cc?rev=1159655&r1=1159654&r2=1159655&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/eventsystem/UnixEventProcessor.cc (original)
+++ trafficserver/traffic/trunk/iocore/eventsystem/UnixEventProcessor.cc Fri Aug 19 14:52:24
2011
@@ -53,7 +53,7 @@ EventProcessor::spawn_event_threads(int 
 
   n_thread_groups++;
   n_ethreads += n_threads;
-  Debug("iocore_thread", "Created thread group id %d", new_thread_group_id);
+  Debug("iocore_thread", "Created thread group '%s' id %d with %d threads", et_name, new_thread_group_id,
n_threads); 
 
   return new_thread_group_id;
 }
@@ -98,6 +98,7 @@ EventProcessor::start(int n_event_thread
     all_ethreads[i]->start(thr_name);
   }
 
+  Debug("iocore_thread", "Created event thread group id %d with %d threads", ET_CALL, n_event_threads);
   return 0;
 }
 

Modified: trafficserver/traffic/trunk/iocore/net/UnixNetProcessor.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/UnixNetProcessor.cc?rev=1159655&r1=1159654&r2=1159655&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/UnixNetProcessor.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/UnixNetProcessor.cc Fri Aug 19 14:52:24 2011
@@ -34,12 +34,12 @@ NetProcessor::AcceptOptions&
 NetProcessor::AcceptOptions::reset()
 {
   port = 0;
-  accept_threads = 0;
+  accept_threads = -1;
   domain = AF_INET;
   etype = ET_NET;
   f_callback_on_open = false;
   localhost_only = false;
-  frequent_accept = false;
+  frequent_accept = true;
   recv_bufsize = 0;
   send_bufsize = 0;
   sockopt_flags = 0;

Modified: trafficserver/traffic/trunk/proxy/http/remap/UrlRewrite.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/http/remap/UrlRewrite.cc?rev=1159655&r1=1159654&r2=1159655&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/http/remap/UrlRewrite.cc (original)
+++ trafficserver/traffic/trunk/proxy/http/remap/UrlRewrite.cc Fri Aug 19 14:52:24 2011
@@ -479,7 +479,7 @@ UrlRewrite::UrlRewrite(const char *file_
  : nohost_rules(0), reverse_proxy(0), backdoor_enabled(0),
    mgmt_autoconf_port(0), default_to_pac(0), default_to_pac_port(0), file_var(NULL), ts_name(NULL),
    http_default_redirect_url(NULL), num_rules_forward(0), num_rules_reverse(0), num_rules_redirect_permanent(0),
-   num_rules_redirect_temporary(0)
+   num_rules_redirect_temporary(0), num_rules_forward_with_recv_port(0)
 {
 
   forward_mappings.hash_lookup = reverse_mappings.hash_lookup =



Mime
View raw message