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

rrm 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 2a3bc0b  Generally random code cleanup
2a3bc0b is described below

commit 2a3bc0b9127ca40aa6541b60b0348d68720a1cff
Author: Randall Meyer <[email protected]>
AuthorDate: Tue Sep 25 09:30:05 2018 -0700

    Generally random code cleanup
---
 proxy/http/remap/RemapPluginInfo.h   |  2 --
 proxy/http/remap/RemapProcessor.h    |  4 ----
 src/traffic_server/traffic_server.cc | 20 +-------------------
 3 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/proxy/http/remap/RemapPluginInfo.h 
b/proxy/http/remap/RemapPluginInfo.h
index cf9e8c7..a83a485 100644
--- a/proxy/http/remap/RemapPluginInfo.h
+++ b/proxy/http/remap/RemapPluginInfo.h
@@ -35,8 +35,6 @@
 #define TSREMAP_FUNCNAME_DO_REMAP "TSRemapDoRemap"
 #define TSREMAP_FUNCNAME_OS_RESPONSE "TSRemapOSResponse"
 
-class url_mapping;
-
 /**
  *
  **/
diff --git a/proxy/http/remap/RemapProcessor.h 
b/proxy/http/remap/RemapProcessor.h
index ac941d2..f3665b8 100644
--- a/proxy/http/remap/RemapProcessor.h
+++ b/proxy/http/remap/RemapProcessor.h
@@ -30,15 +30,11 @@
 #include "RemapPlugins.h"
 #include "RemapPluginInfo.h"
 #include "ReverseProxy.h"
-#undef std // FIXME: remove dependency on the STL
-#include <map>
 
 #define EVENT_REMAP_START (REMAP_EVENT_EVENTS_START + 0)
 #define EVENT_REMAP_ERROR (REMAP_EVENT_EVENTS_START + 1)
 #define EVENT_REMAP_COMPLETE (REMAP_EVENT_EVENTS_START + 2)
 
-class url_mapping;
-
 class RemapProcessor : public Processor
 {
 public:
diff --git a/src/traffic_server/traffic_server.cc 
b/src/traffic_server/traffic_server.cc
index 9c3c279..04158db 100644
--- a/src/traffic_server/traffic_server.cc
+++ b/src/traffic_server/traffic_server.cc
@@ -850,7 +850,7 @@ cmd_verify(char * /* cmd ATS_UNUSED */)
     exitStatus |= (1 << 0);
     fprintf(stderr, "ERROR: Failed to load remap.config, exitStatus %d\n\n", 
exitStatus);
   } else {
-    fprintf(stderr, "INFO:Successfully loaded remap.config\n\n");
+    fprintf(stderr, "INFO: Successfully loaded remap.config\n\n");
   }
 
   if (RecReadConfigFile(false) != REC_ERR_OKAY) {
@@ -1890,27 +1890,9 @@ main(int /* argc ATS_UNUSED */, const char **argv)
       udpNet.start(num_of_udp_threads, stacksize);
     }
 
-    // acc.init();
-    // if (auto_clear_authdb_flag)
-    // acc.clear_cache();
-    // acc.start();
-    // pmgmt initialization moved up, needed by RecProcessInit
-    // pmgmt->start();
-
     // Initialize Response Body Factory
     body_factory = new HttpBodyFactory;
 
-    // Start IP to userName cache processor used
-    // by RADIUS and FW1 plug-ins.
-    // ipToUserNameCacheProcessor.start();
-
-    // Initialize the system for SIMPLE support
-    //  Simple::init();
-
-    // Initialize the system for RAFT support
-    // All this is handled by plugin support code
-    //   Raft::init();
-
     // Continuation Statistics Dump
     if (show_statistics) {
       eventProcessor.schedule_every(new ShowStats(), 
HRTIME_SECONDS(show_statistics), ET_CALL);

Reply via email to