You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2016/05/06 14:37:38 UTC

[trafficserver] branch master updated: TS-4411 : Added an error for unrecognized '@...' in remap.config

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

zwoop pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  509e970   TS-4411 : Added an error for unrecognized '@...' in remap.config
509e970 is described below

commit 509e970ab4a99ec119672dbdfad356749d0cfbcb
Author: Peter Chou <pb...@labs.att.com>
AuthorDate: Mon May 2 12:00:23 2016 -0700

    TS-4411 : Added an error for unrecognized '@...' in remap.config
    
    This closes #612
---
 proxy/http/remap/RemapConfig.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxy/http/remap/RemapConfig.cc b/proxy/http/remap/RemapConfig.cc
index 6a33352..a5948ee 100644
--- a/proxy/http/remap/RemapConfig.cc
+++ b/proxy/http/remap/RemapConfig.cc
@@ -669,6 +669,8 @@ remap_check_option(const char **argv, int argc, unsigned long findmode, int *_re
           idx = i;
         }
         ret_flags |= REMAP_OPTFLG_INTERNAL;
+      } else {
+        TSError("remap_check_option(): Option '%s' in remap configuration is not valid.\n", argv[i]);
       }
 
       if ((findmode & ret_flags) && !argptr) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].