You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/04/16 06:19:38 UTC

[1/2] git commit: Remove unused include file

Repository: trafficserver
Updated Branches:
  refs/heads/master 4c09fff8a -> 9f509d401


Remove unused include file


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

Branch: refs/heads/master
Commit: 9f509d4018d4d28e35298053f6dd1f599d4c5d60
Parents: e2a40e6
Author: James Peach <jp...@apache.org>
Authored: Tue Apr 15 09:57:21 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Tue Apr 15 17:18:10 2014 -0700

----------------------------------------------------------------------
 example/include_other/macro.h | 75 --------------------------------------
 1 file changed, 75 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9f509d40/example/include_other/macro.h
----------------------------------------------------------------------
diff --git a/example/include_other/macro.h b/example/include_other/macro.h
deleted file mode 100644
index 6c0a2dd..0000000
--- a/example/include_other/macro.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/** @file
-
-  A brief file description
-
-  @section license License
-
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
- */
-
-#ifndef _MACRO_H_
-#define _MACRO_H_
-
-#define LOG_SET_FUNCTION_NAME(NAME) const char * FUNCTION_NAME = NAME
-
-#define LOG_AUTO_ERROR(API_NAME, COMMENT) \
-{ \
-    TSDebug(PLUGIN_NAME, "%s %s [%s: line %d] (%s)", API_NAME, "AUTO_FAIL", \
-            FUNCTION_NAME, __LINE__, COMMENT); \
-}
-#define LOG_API_ERROR(API_NAME) { \
-    TSDebug(DEBUG_TAG, "%s: %s %s [%s] File %s, line number %d", PLUGIN_NAME, API_NAME, "APIFAIL", \
-	     FUNCTION_NAME, __FILE__, __LINE__); \
-}
-
-#define LOG_API_ERROR_COMMENT(API_NAME, COMMENT) { \
-    TSDebug(DEBUG_TAG, "%s: %s %s [%s] File %s, line number %d (%s)", PLUGIN_NAME, API_NAME, "APIFAIL", \
-	     FUNCTION_NAME, __FILE__, __LINE__, COMMENT); \
-}
-
-#define LOG_ERROR_AND_RETURN(API_NAME) \
-{ \
-    LOG_API_ERROR(API_NAME); \
-    return -1; \
-}
-#define LOG_ERROR_AND_CLEANUP(API_NAME) \
-{ \
-    LOG_API_ERROR(API_NAME); \
-    goto done; \
-}
-#define LOG_ERROR_AND_REENABLE(API_NAME) \
-{ \
-    LOG_API_ERROR(API_NAME); \
-    TSHttpTxnReenable(txnp, TS_EVENT_HTTP_CONTINUE); \
-}
-
-/* added by nkale for internal plugins */
-#define LOG_NEG_ERROR(API_NAME) { \
-    TSDebug(NEG_ERROR_TAG, "%s: %s %s %s File %s, line number %d",PLUGIN_NAME, API_NAME, "NEGAPIFAIL", \
-             FUNCTION_NAME, __FILE__, __LINE__); \
-}
-
-/* Release macros */
-#define VALID_PTR(X) (X != NULL))
-
-#define FREE(X) \
-{ \
-    if (VALID_PTR(X)) { \
-        TSfree((void *)X); \
-        X = NULL; \
-    } \
-} \


[2/2] git commit: Remove unused PluginVC::is_over_ssl()

Posted by jp...@apache.org.
Remove unused PluginVC::is_over_ssl()


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

Branch: refs/heads/master
Commit: e2a40e6cccf6f568fe98727c4469ab8e7dcd9cdf
Parents: 4c09fff
Author: James Peach <jp...@apache.org>
Authored: Mon Apr 14 14:47:41 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Tue Apr 15 17:18:10 2014 -0700

----------------------------------------------------------------------
 proxy/PluginVC.h | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e2a40e6c/proxy/PluginVC.h
----------------------------------------------------------------------
diff --git a/proxy/PluginVC.h b/proxy/PluginVC.h
index 83277de..d770de5 100644
--- a/proxy/PluginVC.h
+++ b/proxy/PluginVC.h
@@ -87,11 +87,6 @@ public:
 
   virtual VIO *do_io_write(Continuation * c = NULL, int64_t nbytes = INT64_MAX, IOBufferReader * buf = 0, bool owner = false);
 
-  virtual bool is_over_ssl()
-  {
-    return (false);
-  }
-
   virtual void do_io_close(int lerrno = -1);
   virtual void do_io_shutdown(ShutdownHowTo_t howto);