You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2014/11/14 18:55:34 UTC

[5/5] trafficserver git commit: Remove trailing whitespace

Remove trailing whitespace


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

Branch: refs/heads/master
Commit: ab5ba9a8a629fc2866767796a8c51eb2d3e2039f
Parents: e9f057f
Author: Phil Sorber <so...@apache.org>
Authored: Fri Nov 14 10:50:20 2014 -0700
Committer: Phil Sorber <so...@apache.org>
Committed: Fri Nov 14 10:54:45 2014 -0700

----------------------------------------------------------------------
 ci/coverity-model.cc                            |   4 +-
 cmd/traffic_cop/traffic_cop.cc                  |   2 +-
 cmd/traffic_top/stats.h                         |   8 +-
 example/intercept/intercept.cc                  |   2 +-
 example/query-remap/query-remap.c               |   2 +-
 example/remap/remap.cc                          |   4 +-
 example/secure-link/secure-link.c               |   2 +-
 example/ssl-preaccept/ats-util.h                |   2 +-
 example/ssl-preaccept/ssl-preaccept.cc          |  22 +--
 example/ssl-sni-whitelist/ssl-sni-whitelist.cc  |  20 +--
 example/ssl-sni/ssl-sni.cc                      |  24 ++--
 example/version/version.c                       |   2 +-
 iocore/cache/Cache.cc                           |   4 +-
 iocore/cache/CachePages.cc                      |   2 +-
 iocore/cache/CacheTest.cc                       |   6 +-
 iocore/cache/CacheVol.cc                        |   2 +-
 iocore/cache/CacheWrite.cc                      |   2 +-
 iocore/cache/I_Cache.h                          |   4 +-
 iocore/cache/P_CacheDir.h                       |   4 +-
 iocore/cache/P_CacheDisk.h                      |   2 +-
 iocore/cache/P_CacheInternal.h                  |   2 +-
 iocore/cache/P_CacheVol.h                       |   4 +-
 iocore/cache/RamCacheCLFUS.cc                   |   6 +-
 iocore/cluster/ClusterHandler.cc                |   2 +-
 iocore/cluster/ClusterHandlerBase.cc            |  12 +-
 iocore/dns/I_DNSProcessor.h                     |   4 +-
 iocore/dns/P_DNSConnection.h                    |   2 +-
 iocore/dns/P_DNSProcessor.h                     |   2 +-
 iocore/eventsystem/I_Tasks.h                    |   2 +-
 iocore/hostdb/P_MultiCache.h                    |   2 +-
 iocore/net/I_NetVConnection.h                   |   4 +-
 iocore/net/OCSPStapling.cc                      |   2 +-
 iocore/net/P_SSLCertLookup.h                    |   2 +-
 iocore/net/P_SSLNetVConnection.h                |   2 +-
 iocore/net/P_UnixNetVConnection.h               |   2 +-
 iocore/net/SSLCertLookup.cc                     |   2 +-
 iocore/net/SSLNetVConnection.cc                 |  48 +++----
 iocore/net/UnixConnection.cc                    |   2 +-
 iocore/net/UnixNetVConnection.cc                |   4 +-
 .../examples/async_http_fetch/AsyncHttpFetch.cc |   4 +-
 .../NullTransformationPlugin.cc                 |   2 +-
 .../examples/remap_plugin/RemapPlugin.cc        |   2 +-
 .../src/CaseInsensitiveStringComparator.cc      |   6 +-
 lib/atscppapi/src/Headers.cc                    |   8 +-
 lib/atscppapi/src/InterceptPlugin.cc            |  12 +-
 lib/atscppapi/src/Request.cc                    |   4 +-
 lib/atscppapi/src/include/atscppapi/Async.h     |  14 +-
 .../src/include/atscppapi/AsyncTimer.h          |   6 +-
 .../src/include/atscppapi/ClientRequest.h       |   4 +-
 lib/atscppapi/src/include/atscppapi/Headers.h   |   4 +-
 .../src/include/atscppapi/InterceptPlugin.h     |   2 +-
 .../src/include/atscppapi/PluginInit.h          |   4 +-
 .../src/include/atscppapi/RemapPlugin.h         |  10 +-
 lib/atscppapi/src/include/atscppapi/Request.h   |   2 +-
 lib/atscppapi/src/utils_internal.cc             |   4 +-
 lib/records/RecHttp.cc                          |   6 +-
 lib/ts/IntrusiveDList.h                         |   4 +-
 lib/ts/IpMap.cc                                 |  30 ++---
 lib/ts/IpMap.h                                  |   6 +-
 lib/ts/IpMapTest.cc                             |   6 +-
 lib/ts/List.h                                   |   2 +-
 lib/ts/Map.h                                    |  48 +++----
 lib/ts/TsBuffer.h                               |   4 +-
 lib/ts/Vec.cc                                   |  70 +++++-----
 lib/ts/Vec.h                                    |  82 ++++++------
 lib/ts/ink_args.cc                              |   2 +-
 lib/ts/ink_inet.cc                              |   8 +-
 lib/ts/ink_inet.h                               |   8 +-
 lib/ts/ink_memory.h                             |   2 +-
 lib/ts/ink_rand.cc                              |  14 +-
 lib/ts/ink_rand.h                               |  12 +-
 lib/ts/ink_res_init.cc                          |   4 +-
 lib/ts/ink_sock.cc                              |   4 +-
 lib/ts/test_Map.cc                              |   6 +-
 lib/tsconfig/Errata.cc                          |   2 +-
 lib/tsconfig/Errata.h                           |   4 +-
 lib/tsconfig/IntrusivePtr.h                     |  12 +-
 lib/tsconfig/TsConfigGrammar.c                  |  10 +-
 lib/tsconfig/TsConfigGrammar.h                  |  10 +-
 lib/tsconfig/TsConfigSyntax.c                   |  50 +++----
 lib/tsconfig/TsErrataUtil.cc                    |   4 +-
 lib/tsconfig/TsValue.h                          |   2 +-
 lib/wccp/Wccp.h                                 |   8 +-
 lib/wccp/WccpConfig.cc                          |   6 +-
 lib/wccp/WccpEndPoint.cc                        |  14 +-
 lib/wccp/WccpLocal.h                            |  10 +-
 lib/wccp/WccpMeta.h                             |   2 +-
 lib/wccp/WccpMsg.cc                             |  54 ++++----
 lib/wccp/WccpStatic.cc                          |   4 +-
 lib/wccp/wccp-test-router.cc                    |   2 +-
 mgmt/Rollback.cc                                |   2 +-
 mgmt/api/TSControlMain.cc                       |   4 +-
 mgmt/web2/WebHttp.cc                            |   2 +-
 plugins/conf_remap/conf_remap.cc                |   6 +-
 .../ats_pagespeed/ats_base_fetch.cc             |  20 +--
 .../experimental/ats_pagespeed/ats_base_fetch.h |   2 +-
 .../ats_pagespeed/ats_beacon_intercept.cc       |  32 ++---
 .../experimental/ats_pagespeed/ats_config.cc    |   2 +-
 plugins/experimental/ats_pagespeed/ats_config.h |   2 +-
 .../ats_pagespeed/ats_header_utils.cc           |   2 +-
 .../ats_pagespeed/ats_message_handler.cc        |   8 +-
 .../experimental/ats_pagespeed/ats_pagespeed.cc | 134 +++++++++----------
 .../ats_pagespeed/ats_process_context.cc        |   6 +-
 .../ats_pagespeed/ats_resource_intercept.cc     |  36 ++---
 .../ats_pagespeed/ats_resource_intercept.h      |   2 +-
 .../ats_pagespeed/ats_rewrite_driver_factory.cc |   8 +-
 .../ats_pagespeed/ats_rewrite_driver_factory.h  |   4 +-
 .../ats_pagespeed/gzip/configuration.cc         |   4 +-
 .../ats_pagespeed/gzip/configuration.h          |  10 +-
 plugins/experimental/ats_pagespeed/gzip/gzip.cc |  24 ++--
 plugins/experimental/ats_pagespeed/gzip/misc.cc |   4 +-
 .../background_fetch/background_fetch.cc        |   6 +-
 .../experimental/buffer_upload/buffer_upload.cc |   8 +-
 .../custom_redirect/custom_redirect.cc          |  14 +-
 plugins/experimental/esi/combo_handler.cc       |   2 +-
 plugins/experimental/esi/esi.cc                 |  22 +--
 .../esi/fetcher/FetchedDataProcessor.h          |   4 +-
 .../esi/fetcher/HttpDataFetcherImpl.cc          |  14 +-
 .../esi/fetcher/HttpDataFetcherImpl.h           |  10 +-
 plugins/experimental/esi/lib/ComponentBase.h    |   8 +-
 plugins/experimental/esi/lib/DocNode.cc         |   2 +-
 plugins/experimental/esi/lib/DocNode.h          |  12 +-
 plugins/experimental/esi/lib/EsiGunzip.cc       |  10 +-
 plugins/experimental/esi/lib/EsiGunzip.h        | 124 ++++++++---------
 plugins/experimental/esi/lib/EsiGzip.cc         |   8 +-
 plugins/experimental/esi/lib/EsiParser.cc       |  40 +++---
 plugins/experimental/esi/lib/EsiParser.h        |  18 +--
 plugins/experimental/esi/lib/EsiProcessor.cc    |  72 +++++-----
 plugins/experimental/esi/lib/EsiProcessor.h     |  40 +++---
 plugins/experimental/esi/lib/Expression.cc      |  10 +-
 plugins/experimental/esi/lib/Expression.h       |  14 +-
 plugins/experimental/esi/lib/FailureInfo.cc     |  20 +--
 plugins/experimental/esi/lib/FailureInfo.h      |   4 +-
 plugins/experimental/esi/lib/HttpHeader.h       |   2 +-
 .../esi/lib/IncludeHandlerFactory.h             |   2 +-
 plugins/experimental/esi/lib/Stats.h            |   2 +-
 plugins/experimental/esi/lib/Utils.cc           |   2 +-
 plugins/experimental/esi/lib/Utils.h            |   8 +-
 plugins/experimental/esi/lib/Variables.cc       |  18 +--
 plugins/experimental/esi/lib/Variables.h        |   6 +-
 plugins/experimental/esi/lib/gzip.cc            |   2 +-
 plugins/experimental/esi/lib/gzip.h             |   2 +-
 plugins/experimental/esi/serverIntercept.cc     |  18 +--
 .../experimental/esi/test/StubIncludeHandler.cc |   4 +-
 .../experimental/esi/test/StubIncludeHandler.h  |   8 +-
 .../experimental/esi/test/TestHttpDataFetcher.h |   8 +-
 plugins/experimental/esi/test/docnode_test.cc   |  12 +-
 plugins/experimental/esi/test/parser_test.cc    |  52 +++----
 plugins/experimental/esi/test/processor_test.cc |  78 +++++------
 plugins/experimental/esi/test/sampleProb.cc     |  50 +++----
 plugins/experimental/esi/test/utils_test.cc     |   6 +-
 plugins/experimental/esi/test/vars_test.cc      |   6 +-
 plugins/experimental/geoip_acl/acl.cc           |   4 +-
 plugins/experimental/geoip_acl/geoip_acl.cc     |   4 +-
 plugins/experimental/geoip_acl/lulu.h           |   4 +-
 plugins/experimental/hipes/hipes.cc             |  30 ++---
 .../experimental/mysql_remap/lib/dictionary.c   |   6 +-
 .../experimental/mysql_remap/lib/iniparser.c    |   8 +-
 plugins/experimental/s3_auth/s3_auth.cc         |   4 +-
 plugins/experimental/ssl_cert_loader/ats-util.h |   2 +-
 .../experimental/ssl_cert_loader/domain-tree.cc |  14 +-
 .../experimental/ssl_cert_loader/domain-tree.h  |  10 +-
 .../ssl_cert_loader/ssl-cert-loader.cc          |  66 ++++-----
 plugins/experimental/ts_lua/ts_lua.c            |   6 +-
 .../ts_lua/ts_lua_cached_response.c             |   2 +-
 .../ts_lua/ts_lua_cached_response.h             |   2 +-
 .../experimental/ts_lua/ts_lua_client_request.c |   6 +-
 .../experimental/ts_lua/ts_lua_client_request.h |   2 +-
 .../ts_lua/ts_lua_client_response.c             |   2 +-
 .../ts_lua/ts_lua_client_response.h             |   2 +-
 plugins/experimental/ts_lua/ts_lua_common.h     |   2 +-
 plugins/experimental/ts_lua/ts_lua_context.c    |   2 +-
 plugins/experimental/ts_lua/ts_lua_context.h    |   2 +-
 plugins/experimental/ts_lua/ts_lua_crypto.c     |   2 +-
 plugins/experimental/ts_lua/ts_lua_crypto.h     |   2 +-
 plugins/experimental/ts_lua/ts_lua_hook.c       |   4 +-
 plugins/experimental/ts_lua/ts_lua_hook.h       |   2 +-
 plugins/experimental/ts_lua/ts_lua_http.c       |   2 +-
 plugins/experimental/ts_lua/ts_lua_http.h       |   2 +-
 plugins/experimental/ts_lua/ts_lua_http_cntl.c  |   2 +-
 plugins/experimental/ts_lua/ts_lua_http_cntl.h  |   2 +-
 .../experimental/ts_lua/ts_lua_http_config.c    |   2 +-
 .../experimental/ts_lua/ts_lua_http_config.h    |   2 +-
 .../experimental/ts_lua/ts_lua_http_intercept.c |   2 +-
 .../experimental/ts_lua/ts_lua_http_intercept.h |   2 +-
 plugins/experimental/ts_lua/ts_lua_log.c        |   2 +-
 plugins/experimental/ts_lua/ts_lua_log.h        |   2 +-
 plugins/experimental/ts_lua/ts_lua_mgmt.c       |   2 +-
 plugins/experimental/ts_lua/ts_lua_mgmt.h       |   2 +-
 plugins/experimental/ts_lua/ts_lua_misc.c       |   2 +-
 plugins/experimental/ts_lua/ts_lua_misc.h       |   2 +-
 plugins/experimental/ts_lua/ts_lua_package.c    |   2 +-
 plugins/experimental/ts_lua/ts_lua_package.h    |   2 +-
 plugins/experimental/ts_lua/ts_lua_remap.c      |   2 +-
 plugins/experimental/ts_lua/ts_lua_remap.h      |   2 +-
 .../experimental/ts_lua/ts_lua_server_request.c |   2 +-
 .../experimental/ts_lua/ts_lua_server_request.h |   2 +-
 .../ts_lua/ts_lua_server_response.c             |   2 +-
 .../ts_lua/ts_lua_server_response.h             |   2 +-
 plugins/experimental/ts_lua/ts_lua_string.c     |   2 +-
 plugins/experimental/ts_lua/ts_lua_string.h     |   2 +-
 plugins/experimental/ts_lua/ts_lua_transform.c  |   2 +-
 plugins/experimental/ts_lua/ts_lua_transform.h  |   2 +-
 plugins/experimental/ts_lua/ts_lua_util.c       |   6 +-
 plugins/experimental/ts_lua/ts_lua_util.h       |   2 +-
 plugins/gzip/configuration.cc                   |   2 +-
 plugins/gzip/configuration.h                    |  10 +-
 plugins/gzip/gzip.cc                            |  24 ++--
 plugins/gzip/misc.cc                            |   4 +-
 plugins/regex_remap/regex_remap.cc              |   2 +-
 proxy/CacheControl.cc                           |   6 +-
 proxy/ControlMatcher.cc                         |   6 +-
 proxy/ControlMatcher.h                          |   2 +-
 proxy/CoreUtils.cc                              |   4 +-
 proxy/FetchSM.cc                                |  12 +-
 proxy/ICP.cc                                    |   2 +-
 proxy/IPAllow.h                                 |   2 +-
 proxy/InkAPI.cc                                 |  10 +-
 proxy/InkAPIInternal.h                          |   2 +-
 proxy/InkAPITestTool.cc                         |   4 +-
 proxy/InkIOCoreAPI.cc                           |   8 +-
 proxy/PluginVC.cc                               |   4 +-
 proxy/ReverseProxy.cc                           |   2 +-
 proxy/StatSystem.cc                             |   2 +-
 proxy/Transform.cc                              |   4 +-
 proxy/TransformInternal.h                       |   6 +-
 proxy/api/ts/experimental.h                     |   4 +-
 proxy/api/ts/ts.h                               |  20 +--
 proxy/congest/CongestionDB.cc                   |   2 +-
 proxy/congest/CongestionTest.cc                 |   4 +-
 proxy/hdrs/HTTP.cc                              |   2 +-
 proxy/hdrs/HdrHeap.h                            |   4 +-
 proxy/hdrs/HdrTest.cc                           |   6 +-
 proxy/hdrs/HdrToken.cc                          |  40 +++---
 proxy/hdrs/URL.cc                               |  30 ++---
 proxy/http/HttpConfig.cc                        |   6 +-
 proxy/http/HttpConnectionCount.h                |   2 +-
 proxy/http/HttpProxyServerMain.cc               |   4 +-
 proxy/http/HttpProxyServerMain.h                |   2 +-
 proxy/http/HttpSM.cc                            |   2 +-
 proxy/http/HttpSM.h                             |   4 +-
 proxy/http/HttpServerSession.cc                 |  10 +-
 proxy/http/HttpServerSession.h                  |   2 +-
 proxy/http/HttpTransactCache.cc                 |   2 +-
 proxy/http/HttpTransactHeaders.h                |   2 +-
 proxy/http/remap/RemapPluginInfo.cc             |   2 +-
 proxy/http/remap/UrlMapping.h                   |   8 +-
 proxy/http/remap/UrlMappingPathIndex.h          |   2 +-
 proxy/http/remap/UrlRewrite.cc                  |   2 +-
 proxy/http/testheaders.cc                       |   2 +-
 proxy/logging/LogBuffer.cc                      |   2 +-
 proxy/logging/LogFilter.h                       |   4 +-
 proxy/logging/LogSock.cc                        |   8 +-
 proxy/logstats.cc                               |   8 +-
 proxy/spdy/SpdyClientSession.cc                 |   2 +-
 tools/http_load/http_load.c                     |   4 +-
 tools/lighttpd_mod_generator/mod_generator.c    |  14 +-
 257 files changed, 1231 insertions(+), 1231 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/ci/coverity-model.cc
----------------------------------------------------------------------
diff --git a/ci/coverity-model.cc b/ci/coverity-model.cc
index 1f952a3..bfd620a 100644
--- a/ci/coverity-model.cc
+++ b/ci/coverity-model.cc
@@ -1,4 +1,4 @@
-/** 
+/**
     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
@@ -27,7 +27,7 @@ typedef struct real_pcre pcre;
 typedef struct pcre_extra {
 } pcre_extra;
 
-int 
+int
 pcre_exec(const pcre *argument_re, const pcre_extra *extra_data,
           PCRE_SPTR subject, int length, int start_offset, int options, int *offsets,
           int offsetcount)

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/cmd/traffic_cop/traffic_cop.cc
----------------------------------------------------------------------
diff --git a/cmd/traffic_cop/traffic_cop.cc b/cmd/traffic_cop/traffic_cop.cc
index ee65d63..7cf32ec 100644
--- a/cmd/traffic_cop/traffic_cop.cc
+++ b/cmd/traffic_cop/traffic_cop.cc
@@ -247,7 +247,7 @@ sig_term(int signum)
   // safely^W commit suicide.
   cop_log_trace("Sending signal %d to entire group\n", signum);
   killpg(0, signum);
-  
+
   cop_log_trace("Waiting for children to exit.");
 
   for (;;) {

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/cmd/traffic_top/stats.h
----------------------------------------------------------------------
diff --git a/cmd/traffic_top/stats.h b/cmd/traffic_top/stats.h
index bfb4cb4..c0e29d3 100644
--- a/cmd/traffic_top/stats.h
+++ b/cmd/traffic_top/stats.h
@@ -254,7 +254,7 @@ public:
             (*_stats)[key] = foo;
           }
         }
-      } 
+      }
       _old_time = _now;
       _now = now;
       _time_diff = _now - _old_time;
@@ -295,7 +295,7 @@ public:
           abort();
         }
 
-        /* always cleanup */ 
+        /* always cleanup */
         curl_easy_cleanup(curl);
       }
     }
@@ -320,7 +320,7 @@ public:
     map<string, LookupItem>::const_iterator lookup_it = lookup_table.find(key);
     assert(lookup_it != lookup_table.end());
     const LookupItem &item = lookup_it->second;
-    
+
     map<string, string>::const_iterator stats_it = _stats->find(item.name);
     if (stats_it == _stats->end())
       value = "";
@@ -411,7 +411,7 @@ public:
       size_t start = response.find(constant::start, pos);
       size_t seperator = response.find(constant::seperator, pos);
       size_t end = response.find(constant::end, pos);
-  
+
       if (start == string::npos || seperator == string::npos || end == string::npos)
         return;
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/intercept/intercept.cc
----------------------------------------------------------------------
diff --git a/example/intercept/intercept.cc b/example/intercept/intercept.cc
index 44c7014..c56a01d 100644
--- a/example/intercept/intercept.cc
+++ b/example/intercept/intercept.cc
@@ -354,7 +354,7 @@ InterceptInterceptionHook(TSCont contp, TSEvent event, void * edata)
 
     return TS_EVENT_NONE;
   }
-  
+
   case TS_EVENT_NET_ACCEPT_FAILED: {
     // TS_EVENT_NET_ACCEPT_FAILED will be delivered if the
     // transaction is cancelled before we start tunnelling

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/query-remap/query-remap.c
----------------------------------------------------------------------
diff --git a/example/query-remap/query-remap.c b/example/query-remap/query-remap.c
index 3026a2c..8eabd3f 100644
--- a/example/query-remap/query-remap.c
+++ b/example/query-remap/query-remap.c
@@ -126,7 +126,7 @@ TSRemapDoRemap(void* ih, TSHttpTxn rh ATS_UNUSED, TSRemapRequestInfo *rri)
 
   int req_query_len;
   const char* req_query = TSUrlHttpQueryGet(rri->requestBufp, rri->requestUrl, &req_query_len);
-  
+
   if (req_query && req_query_len > 0) {
     char *q, *key;
     char *s = NULL;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/remap/remap.cc
----------------------------------------------------------------------
diff --git a/example/remap/remap.cc b/example/remap/remap.cc
index ec51ce8..2dbe82a 100644
--- a/example/remap/remap.cc
+++ b/example/remap/remap.cc
@@ -23,7 +23,7 @@
   @section description
   Build this sample remap plugin using tsxs:
 
-    $ tsxs -v -o remap.so remap.cc 
+    $ tsxs -v -o remap.so remap.cc
 
   To install it:
     # tsxs -i -o remap.so
@@ -316,7 +316,7 @@ TSRemapDoRemap(void* ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
     size_t len = snprintf(tmp, 255,
                           "This is very small example of TS API usage!\nIteration %d!\nHTTP return code %d\n",
                           my_local_counter, TS_HTTP_STATUS_CONTINUE + my_local_counter);
-    TSHttpTxnSetHttpRetStatus((TSHttpTxn) rh, (TSHttpStatus) ((int) TS_HTTP_STATUS_CONTINUE + my_local_counter)); 
+    TSHttpTxnSetHttpRetStatus((TSHttpTxn) rh, (TSHttpStatus) ((int) TS_HTTP_STATUS_CONTINUE + my_local_counter));
     TSHttpTxnErrorBodySet((TSHttpTxn) rh, tmp, len, NULL); // Defaults to text/html
     my_local_counter++;
   }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/secure-link/secure-link.c
----------------------------------------------------------------------
diff --git a/example/secure-link/secure-link.c b/example/secure-link/secure-link.c
index ef1f03e..9f55e18 100644
--- a/example/secure-link/secure-link.c
+++ b/example/secure-link/secure-link.c
@@ -103,7 +103,7 @@ TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo* rri)
   MD5_Init(&ctx);
   MD5_Update(&ctx, sli->secret, strlen(sli->secret));
   MD5_Update(&ctx, ip, strlen(ip));
-  if (path) 
+  if (path)
     MD5_Update(&ctx, path, strlen(path));
   if (expire)
     MD5_Update(&ctx, expire, strlen(expire));

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/ssl-preaccept/ats-util.h
----------------------------------------------------------------------
diff --git a/example/ssl-preaccept/ats-util.h b/example/ssl-preaccept/ats-util.h
index 1164a20..428b588 100644
--- a/example/ssl-preaccept/ats-util.h
+++ b/example/ssl-preaccept/ats-util.h
@@ -27,7 +27,7 @@
     foo *bar[ZOMG]; // array of pointers.
     ink_zero(bar); // zero all pointers in the array.
     @endcode
-    
+
  */
 template < typename T > inline void
 ink_zero(

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/ssl-preaccept/ssl-preaccept.cc
----------------------------------------------------------------------
diff --git a/example/ssl-preaccept/ssl-preaccept.cc b/example/ssl-preaccept/ssl-preaccept.cc
index c0f0ce8..8754ea3 100644
--- a/example/ssl-preaccept/ssl-preaccept.cc
+++ b/example/ssl-preaccept/ssl-preaccept.cc
@@ -2,7 +2,7 @@
 
   SSL Preaccept test plugin
   Implements blind tunneling based on the client IP address
-  The client ip addresses are specified in the plugin's  
+  The client ip addresses are specified in the plugin's
   config file as an array of IP addresses or IP address ranges under the
   key "client-blind-tunnel"
 
@@ -49,7 +49,7 @@ IpRangeQueue ClientBlindTunnelIp;
 Configuration Config;	// global configuration
 
 void
-Parse_Addr_String(ts::ConstBuffer const &text, IpRange &range) 
+Parse_Addr_String(ts::ConstBuffer const &text, IpRange &range)
 {
   IpAddr newAddr;
   std::string textstr(text._ptr, text._size);
@@ -64,12 +64,12 @@ Parse_Addr_String(ts::ConstBuffer const &text, IpRange &range)
   else { // Assume it is a single address
     newAddr.load(text);
     range.first = newAddr;
-    range.second = newAddr; 
+    range.second = newAddr;
   }
 }
 
 /// Get a string value from a config node.
-void Load_Config_Value(Value const& parent, char const* name, IpRangeQueue &addrs) 
+void Load_Config_Value(Value const& parent, char const* name, IpRangeQueue &addrs)
 {
   Value v = parent[name];
   std::string zret;
@@ -89,7 +89,7 @@ void Load_Config_Value(Value const& parent, char const* name, IpRangeQueue &addr
 
 
 int
-Load_Config_File() 
+Load_Config_File()
 {
   ts::Rv<Configuration> cv = Configuration::loadFromPath(ConfigPath.c_str());
   if (!cv.isOK()) {
@@ -101,7 +101,7 @@ Load_Config_File()
 }
 
 int
-Load_Configuration() 
+Load_Configuration()
 {
   int ret = Load_Config_File();
   if (ret != 0) {
@@ -116,7 +116,7 @@ Load_Configuration()
 }
 
 int
-CB_Pre_Accept(TSCont, TSEvent event, void *edata) 
+CB_Pre_Accept(TSCont, TSEvent event, void *edata)
 {
   TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
   IpAddr ip(TSNetVConnLocalAddrGet(ssl_vc));
@@ -132,7 +132,7 @@ CB_Pre_Accept(TSCont, TSEvent event, void *edata)
     );
 
   // Not the worlds most efficient address comparison.  For short lists
-  // shouldn't be too bad.  If the client IP is in any of the ranges, 
+  // shouldn't be too bad.  If the client IP is in any of the ranges,
   // flip the tunnel to be blind tunneled instead of decrypted and proxied
   bool proxy_tunnel = true;
   IpRangeQueue::iterator iter;
@@ -158,7 +158,7 @@ CB_Pre_Accept(TSCont, TSEvent event, void *edata)
 
 // Called by ATS as our initialization point
 void
-TSPluginInit(int argc, const char *argv[]) 
+TSPluginInit(int argc, const char *argv[])
 {
   bool success = false;
   TSPluginRegistrationInfo info;
@@ -181,7 +181,7 @@ TSPluginInit(int argc, const char *argv[])
       ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(optarg);
       break;
     }
-  } 
+  }
   if (ConfigPath.length() == 0) {
     static char const * const DEFAULT_CONFIG_PATH = "ssl_preaccept.config";
     ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(DEFAULT_CONFIG_PATH);
@@ -200,7 +200,7 @@ TSPluginInit(int argc, const char *argv[])
     TSHttpHookAdd(TS_VCONN_PRE_ACCEPT_HOOK, cb_pa);
     success = true;
   }
- 
+
   if (!success) {
     if (cb_pa) TSContDestroy(cb_pa);
     TSError(PCP "not initialized");

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/ssl-sni-whitelist/ssl-sni-whitelist.cc
----------------------------------------------------------------------
diff --git a/example/ssl-sni-whitelist/ssl-sni-whitelist.cc b/example/ssl-sni-whitelist/ssl-sni-whitelist.cc
index 496e950..8c4d384 100644
--- a/example/ssl-sni-whitelist/ssl-sni-whitelist.cc
+++ b/example/ssl-sni-whitelist/ssl-sni-whitelist.cc
@@ -1,5 +1,5 @@
-/** @file 
- 
+/** @file
+
   SSL SNI white list plugin
   If the server name and IP address are not in the ssl_multicert.config
   go head and blind tunnel it.
@@ -47,7 +47,7 @@ std::string ConfigPath;
 Configuration Config;	// global configuration
 
 int
-Load_Config_File() 
+Load_Config_File()
 {
   ts::Rv<Configuration> cv = Configuration::loadFromPath(ConfigPath.c_str());
   if (!cv.isOK()) {
@@ -70,7 +70,7 @@ Load_Configuration()
 }
 
 int
-CB_servername_whitelist(TSCont /* contp */, TSEvent /* event */, void *edata) 
+CB_servername_whitelist(TSCont /* contp */, TSEvent /* event */, void *edata)
 {
   TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
   TSSslConnection sslobj = TSVConnSSLConnectionGet(ssl_vc);
@@ -94,16 +94,16 @@ CB_servername_whitelist(TSCont /* contp */, TSEvent /* event */, void *edata)
     TSDebug("skh", "SNI callback: do blind tunnel for %s", servername);
     TSVConnTunnel(ssl_vc);
     return TS_SUCCESS; // Don't re-enable so we interrupt processing
-  }  
+  }
   TSVConnReenable(ssl_vc);
   return TS_SUCCESS;
-}        
+}
 
 } // Anon namespace
 
 // Called by ATS as our initialization point
 void
-TSPluginInit(int argc, const char *argv[]) 
+TSPluginInit(int argc, const char *argv[])
 {
   bool success = false;
   TSPluginRegistrationInfo info;
@@ -126,7 +126,7 @@ TSPluginInit(int argc, const char *argv[])
       ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(optarg);
       break;
     }
-  } 
+  }
   if (ConfigPath.length() == 0) {
     static char const * const DEFAULT_CONFIG_PATH = "ssl_sni_whitelist.config";
     ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(DEFAULT_CONFIG_PATH);
@@ -145,7 +145,7 @@ TSPluginInit(int argc, const char *argv[])
     TSHttpHookAdd(TS_SSL_SNI_HOOK, cb_sni);
     success = true;
   }
- 
+
   if (!success) {
     if (cb_sni) TSContDestroy(cb_sni);
     TSError(PCP "not initialized");
@@ -158,7 +158,7 @@ TSPluginInit(int argc, const char *argv[])
 # else // ! TS_USE_TLS_SNI
 
 void
-TSPluginInit(int, const char *[]) 
+TSPluginInit(int, const char *[])
 {
     TSError(PCP "requires TLS SNI which is not available.");
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/ssl-sni/ssl-sni.cc
----------------------------------------------------------------------
diff --git a/example/ssl-sni/ssl-sni.cc b/example/ssl-sni/ssl-sni.cc
index 0367d5f..d8101b8 100644
--- a/example/ssl-sni/ssl-sni.cc
+++ b/example/ssl-sni/ssl-sni.cc
@@ -1,8 +1,8 @@
-/** 
-  @file 
+/**
+  @file
   SSL Preaccept test plugin
   Implements blind tunneling based on the client IP address
-  The client ip addresses are specified in the plugin's  
+  The client ip addresses are specified in the plugin's
   config file as an array of IP addresses or IP address ranges under the
   key "client-blind-tunnel"
 
@@ -50,7 +50,7 @@ std::string ConfigPath;
 Configuration Config;	// global configuration
 
 int
-Load_Config_File() 
+Load_Config_File()
 {
   ts::Rv<Configuration> cv = Configuration::loadFromPath(ConfigPath.c_str());
   if (!cv.isOK()) {
@@ -62,7 +62,7 @@ Load_Config_File()
 }
 
 int
-Load_Configuration() 
+Load_Configuration()
 {
   int ret = Load_Config_File();
   if (ret != 0) {
@@ -82,7 +82,7 @@ Load_Configuration()
    this connection.
  */
 int
-CB_servername(TSCont /* contp */, TSEvent /* event */, void *edata) 
+CB_servername(TSCont /* contp */, TSEvent /* event */, void *edata)
 {
   TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
   TSSslConnection sslobj = TSVConnSSLConnectionGet(ssl_vc);
@@ -109,12 +109,12 @@ CB_servername(TSCont /* contp */, TSEvent /* event */, void *edata)
         if (ctxobj != NULL) {
           TSDebug("skh", "Found cert for safelyfiled");
           SSL_CTX *ctx = reinterpret_cast<SSL_CTX *>(ctxobj);
-          SSL_set_SSL_CTX(ssl, ctx); 
+          SSL_set_SSL_CTX(ssl, ctx);
           TSDebug("skh", "SNI plugin cb: replace SSL CTX");
         }
       }
     }
-  } 
+  }
 
 
   // All done, reactivate things
@@ -126,7 +126,7 @@ CB_servername(TSCont /* contp */, TSEvent /* event */, void *edata)
 
 // Called by ATS as our initialization point
 void
-TSPluginInit(int argc, const char *argv[]) 
+TSPluginInit(int argc, const char *argv[])
 {
   bool success = false;
   TSPluginRegistrationInfo info;
@@ -149,7 +149,7 @@ TSPluginInit(int argc, const char *argv[])
       ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(optarg);
       break;
     }
-  } 
+  }
   if (ConfigPath.length() == 0) {
     static char const * const DEFAULT_CONFIG_PATH = "ssl_sni.config";
     ConfigPath = std::string(TSConfigDirGet()) + '/' + std::string(DEFAULT_CONFIG_PATH);
@@ -168,7 +168,7 @@ TSPluginInit(int argc, const char *argv[])
     TSHttpHookAdd(TS_SSL_SNI_HOOK, cb_sni);
     success = true;
   }
- 
+
   if (!success) {
     if (cb_sni) TSContDestroy(cb_sni);
     TSError(PCP "not initialized");
@@ -181,7 +181,7 @@ TSPluginInit(int argc, const char *argv[])
 # else // ! TS_USE_TLS_SNI
 
 void
-TSPluginInit(int, const char *[]) 
+TSPluginInit(int, const char *[])
 {
     TSError(PCP "requires TLS SNI which is not available.");
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/example/version/version.c
----------------------------------------------------------------------
diff --git a/example/version/version.c b/example/version/version.c
index 5512858..71aa15e 100644
--- a/example/version/version.c
+++ b/example/version/version.c
@@ -56,7 +56,7 @@ TSPluginInit(int argc ATS_UNUSED, const char *argv[] ATS_UNUSED)
   // partial compilation
 #if (TS_VERSION_NUMBER < 3000000)
   if (TSPluginRegister(TS_SDK_VERSION_2_0, &info) != TS_SUCCESS) {
-#else 
+#else
   if (TSPluginRegister(TS_SDK_VERSION_3_0, &info) != TS_SUCCESS) {
 #endif
     TSError("Plugin registration failed. \n");

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/Cache.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index 3b1eebd..9aece93 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -463,11 +463,11 @@ CacheVC::set_http_info(CacheHTTPInfo *ainfo)
   }
   if (enable_cache_empty_http_doc) {
     MIMEField *field = ainfo->m_alt->m_response_hdr.field_find(MIME_FIELD_CONTENT_LENGTH, MIME_LEN_CONTENT_LENGTH);
-    if (field && !field->value_get_int64()) 
+    if (field && !field->value_get_int64())
       f.allow_empty_doc = 1;
     else
       f.allow_empty_doc = 0;
-  } else 
+  } else
     f.allow_empty_doc = 0;
   alternate.copy_shallow(ainfo);
   ainfo->clear();

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/CachePages.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CachePages.cc b/iocore/cache/CachePages.cc
index cf0ec83..5aa8bc5 100644
--- a/iocore/cache/CachePages.cc
+++ b/iocore/cache/CachePages.cc
@@ -65,7 +65,7 @@ struct ShowCache: public ShowCont {
   int handleCacheDeleteComplete(int event, Event *e);
   int handleCacheScanCallback(int event, Event *e);
 
-  ShowCache(Continuation *c, HTTPHdr *h): 
+  ShowCache(Continuation *c, HTTPHdr *h):
     ShowCont(c, h), vol_index(0), seg_index(0), scan_flag(scan_type_lookup),
     cache_vc(0), buffer(0), buffer_reader(0), content_length(0), cvio(0)
   {

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/CacheTest.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheTest.cc b/iocore/cache/CacheTest.cc
index 2bb1194..6ca424c 100644
--- a/iocore/cache/CacheTest.cc
+++ b/iocore/cache/CacheTest.cc
@@ -382,9 +382,9 @@ EXCLUSIVE_REGRESSION_TEST(cache)(RegressionTest *t, int /* atype ATS_UNUSED */,
   large_write_test.nbytes = 10000000;
   rand_CacheKey(&large_write_test.key, thread->mutex);
 
-  CACHE_SM(t, pread_test, { 
-      cacheProcessor.open_read(this, &key, false); 
-    } 
+  CACHE_SM(t, pread_test, {
+      cacheProcessor.open_read(this, &key, false);
+    }
     int open_read_callout() {
       cvio = cache_vc->do_io_pread(this, nbytes, buffer, 7000000);
       return 1;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/CacheVol.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheVol.cc b/iocore/cache/CacheVol.cc
index 51e4306..7acbd95 100644
--- a/iocore/cache/CacheVol.cc
+++ b/iocore/cache/CacheVol.cc
@@ -216,7 +216,7 @@ CacheVC::scanObject(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
       Debug("cache_scan_truss", "blockskip %p:scanObject", this);
       continue;
     }
-      
+
     if (doc->doc_type != CACHE_FRAG_TYPE_HTTP || !doc->hlen)
       goto Lskip;
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/CacheWrite.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheWrite.cc b/iocore/cache/CacheWrite.cc
index 9000416..cdefdbc 100644
--- a/iocore/cache/CacheWrite.cc
+++ b/iocore/cache/CacheWrite.cc
@@ -1390,7 +1390,7 @@ Lagain:
     total_len += avail;
   }
   length = (uint64_t)towrite;
-  if (length > target_fragment_size() && 
+  if (length > target_fragment_size() &&
       (length < target_fragment_size() + target_fragment_size() / 4))
     write_len = target_fragment_size();
   else

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/I_Cache.h
----------------------------------------------------------------------
diff --git a/iocore/cache/I_Cache.h b/iocore/cache/I_Cache.h
index de30eb4..1606a23 100644
--- a/iocore/cache/I_Cache.h
+++ b/iocore/cache/I_Cache.h
@@ -186,7 +186,7 @@ struct CacheProcessor:public Processor
   static int fix;
   static int start_internal_flags;
   static int auto_clear_flag;
-  
+
   VersionNumber min_stripe_version;
   VersionNumber max_stripe_version;
 
@@ -228,7 +228,7 @@ struct CacheVConnection:public VConnection
   virtual bool set_pin_in_cache(time_t t) = 0;
   virtual time_t get_pin_in_cache() = 0;
   virtual int64_t get_object_size() = 0;
-  
+
   /** Test if the VC can support pread.
       @return @c true if @c do_io_pread will work, @c false if not.
   */

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/P_CacheDir.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheDir.h b/iocore/cache/P_CacheDir.h
index 638051c..e056e6f 100644
--- a/iocore/cache/P_CacheDir.h
+++ b/iocore/cache/P_CacheDir.h
@@ -127,7 +127,7 @@ typedef uint32_t DirInfo;
 struct Dir
 {
 #if DO_NOT_REMOVE_THIS
-  // THE BIT-FIELD INTERPRETATION OF THIS STRUCT WHICH HAS TO 
+  // THE BIT-FIELD INTERPRETATION OF THIS STRUCT WHICH HAS TO
   // USE MACROS TO PREVENT UNALIGNED LOADS
   // bits are numbered from lowest in u16 to highest
   // always index as u16 to avoid byte order issues
@@ -152,7 +152,7 @@ struct Dir
 struct FreeDir
 {
 #if DO_NOT_REMOVE_THIS
-  // THE BIT-FIELD INTERPRETATION OF THIS STRUCT WHICH HAS TO 
+  // THE BIT-FIELD INTERPRETATION OF THIS STRUCT WHICH HAS TO
   // USE MACROS TO PREVENT UNALIGNED LOADS
   unsigned int offset:24;       // 0: empty
   unsigned int reserved:8;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/P_CacheDisk.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheDisk.h b/iocore/cache/P_CacheDisk.h
index 2734f04..a197435 100644
--- a/iocore/cache/P_CacheDisk.h
+++ b/iocore/cache/P_CacheDisk.h
@@ -107,7 +107,7 @@ struct CacheDisk: public Continuation
   // Extra configuration values
   int forced_volume_num; ///< Volume number for this disk.
   ats_scoped_str hash_base_string; ///< Base string for hash seed.
- 
+
   CacheDisk()
     : Continuation(new_ProxyMutex()), header(NULL),
       path(NULL), header_len(0), len(0), start(0), skip(0),

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/P_CacheInternal.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheInternal.h b/iocore/cache/P_CacheInternal.h
index ac15efe..57c5b0b 100644
--- a/iocore/cache/P_CacheInternal.h
+++ b/iocore/cache/P_CacheInternal.h
@@ -504,7 +504,7 @@ struct CacheVC: public CacheVConnection
   };
   // BTF optimization used to skip reading stuff in cache partition that doesn't contain any
   // dir entries.
-  char *scan_vol_map; 
+  char *scan_vol_map;
   // BTF fix to handle objects that overlapped over two different reads,
   // this is how much we need to back up the buffer to get the start of the overlapping object.
   off_t scan_fix_buffer_offset;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/P_CacheVol.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheVol.h b/iocore/cache/P_CacheVol.h
index 2c79635..53f24c4 100644
--- a/iocore/cache/P_CacheVol.h
+++ b/iocore/cache/P_CacheVol.h
@@ -560,7 +560,7 @@ struct Vol: public Continuation
   {
     io.aiocb.aio_fildes = AIO_NOT_IN_PROGRESS;
   }
-  
+
   int aggWriteDone(int event, Event *e);
   int aggWrite(int event, void *e);
   void agg_wrap();
@@ -667,7 +667,7 @@ vol_headerlen(Vol *d) {
 TS_INLINE size_t
 vol_dirlen(Vol *d)
 {
-  return vol_headerlen(d) + 
+  return vol_headerlen(d) +
     ROUND_TO_STORE_BLOCK(((size_t)d->buckets) * DIR_DEPTH * d->segments * SIZEOF_DIR) +
     ROUND_TO_STORE_BLOCK(sizeof(VolHeaderFooter));
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cache/RamCacheCLFUS.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/RamCacheCLFUS.cc b/iocore/cache/RamCacheCLFUS.cc
index f7781de..ce4f332 100644
--- a/iocore/cache/RamCacheCLFUS.cc
+++ b/iocore/cache/RamCacheCLFUS.cc
@@ -106,8 +106,8 @@ public:
 
   RamCacheCLFUSCompressor(RamCacheCLFUS *arc)
     : rc(arc)
-  { 
-    SET_HANDLER(&RamCacheCLFUSCompressor::mainEvent); 
+  {
+    SET_HANDLER(&RamCacheCLFUSCompressor::mainEvent);
   }
 };
 
@@ -117,7 +117,7 @@ RamCacheCLFUSCompressor::mainEvent(int /* event ATS_UNUSED */, Event *e)
   switch (cache_config_ram_cache_compress) {
     default:
       Warning("unknown RAM cache compression type: %d", cache_config_ram_cache_compress);
-    case CACHE_COMPRESSION_NONE: 
+    case CACHE_COMPRESSION_NONE:
     case CACHE_COMPRESSION_FASTLZ:
       break;
     case CACHE_COMPRESSION_LIBZ:

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cluster/ClusterHandler.cc
----------------------------------------------------------------------
diff --git a/iocore/cluster/ClusterHandler.cc b/iocore/cluster/ClusterHandler.cc
index bdfc3f3..afb0156 100644
--- a/iocore/cluster/ClusterHandler.cc
+++ b/iocore/cluster/ClusterHandler.cc
@@ -2131,7 +2131,7 @@ retry:
   if (vc->was_closed()) {
     if (!vc->write_bytes_in_transit && !vc->schedule_write()) {
       close_ClusterVConnection(vc);
-    } 
+    }
     return 0;
   }
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/cluster/ClusterHandlerBase.cc
----------------------------------------------------------------------
diff --git a/iocore/cluster/ClusterHandlerBase.cc b/iocore/cluster/ClusterHandlerBase.cc
index a967778..1fec3ff 100644
--- a/iocore/cluster/ClusterHandlerBase.cc
+++ b/iocore/cluster/ClusterHandlerBase.cc
@@ -141,7 +141,7 @@ ClusterControl::free_data()
       ink_release_assert(*(((uint8_t *) data) - DATA_HDR + 1) == (uint8_t) ALLOC_DATA_MAGIC);
       *(((uint8_t *) data) - DATA_HDR + 1) = (uint8_t) ~ ALLOC_DATA_MAGIC;
 
-      ink_release_assert(*(((char *) data) - DATA_HDR) == size_index);         
+      ink_release_assert(*(((char *) data) - DATA_HDR) == size_index);
     } else {
       // malloc'ed memory, not alloced via real_alloc_data().
       // Data will be ats_free()'ed when IOBufferBlock is freed
@@ -1013,14 +1013,14 @@ ClusterHandler::startClusterEvent(int event, Event * e)
         if (net_vc->thread == thread) {
           cluster_connect_state = CLCON_CONN_BIND_OK;
           break;
-        } else { 
+        } else {
           cluster_connect_state = ClusterHandler::CLCON_CONN_BIND_CLEAR;
         }
       }
 
     case ClusterHandler::CLCON_CONN_BIND_CLEAR:
       {
-        UnixNetVConnection *vc = (UnixNetVConnection *)net_vc; 
+        UnixNetVConnection *vc = (UnixNetVConnection *)net_vc;
         MUTEX_TRY_LOCK(lock, vc->nh->mutex, e->ethread);
         MUTEX_TRY_LOCK(lock1, vc->mutex, e->ethread);
         if (lock.is_locked() && lock1.is_locked()) {
@@ -1049,9 +1049,9 @@ ClusterHandler::startClusterEvent(int event, Event * e)
 
     case ClusterHandler::CLCON_CONN_BIND:
       {
-        // 
+        //
         NetHandler *nh = get_NetHandler(e->ethread);
-        UnixNetVConnection *vc = (UnixNetVConnection *)net_vc; 
+        UnixNetVConnection *vc = (UnixNetVConnection *)net_vc;
         MUTEX_TRY_LOCK(lock, nh->mutex, e->ethread);
         MUTEX_TRY_LOCK(lock1, vc->mutex, e->ethread);
         if (lock.is_locked() && lock1.is_locked()) {
@@ -1086,7 +1086,7 @@ ClusterHandler::startClusterEvent(int event, Event * e)
         if (cc && cc->find(ip, port)) {
           ClusterConfiguration *c = this_cluster()->current_configuration();
           ClusterMachine *m = c->find(ip, port);
-          
+
           if (!m) { // this first connection
             ClusterConfiguration *cconf = configuration_add_machine(c, machine);
             CLUSTER_INCREMENT_DYN_STAT(CLUSTER_NODES_STAT);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/dns/I_DNSProcessor.h
----------------------------------------------------------------------
diff --git a/iocore/dns/I_DNSProcessor.h b/iocore/dns/I_DNSProcessor.h
index b66f172..adb8b59 100644
--- a/iocore/dns/I_DNSProcessor.h
+++ b/iocore/dns/I_DNSProcessor.h
@@ -53,9 +53,9 @@ struct HostEnt : RefCountObj {
 
   virtual void free();
 
-  HostEnt() { 
+  HostEnt() {
     size_t base = sizeof(force_VFPT_to_top);  // preserve VFPT
-    memset(((char*)this) + base, 0, sizeof(*this) - base); 
+    memset(((char*)this) + base, 0, sizeof(*this) - base);
   }
 };
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/dns/P_DNSConnection.h
----------------------------------------------------------------------
diff --git a/iocore/dns/P_DNSConnection.h b/iocore/dns/P_DNSConnection.h
index 4860376..eedd54c 100644
--- a/iocore/dns/P_DNSConnection.h
+++ b/iocore/dns/P_DNSConnection.h
@@ -94,7 +94,7 @@ struct DNSConnection {
   static Options const DEFAULT_OPTIONS;
 };
 
-inline DNSConnection::Options::Options() 
+inline DNSConnection::Options::Options()
   : _non_blocking_connect(true)
   , _non_blocking_io(true)
   , _use_tcp(false)

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/dns/P_DNSProcessor.h
----------------------------------------------------------------------
diff --git a/iocore/dns/P_DNSProcessor.h b/iocore/dns/P_DNSProcessor.h
index 9cb27ea..4183341 100644
--- a/iocore/dns/P_DNSProcessor.h
+++ b/iocore/dns/P_DNSProcessor.h
@@ -335,7 +335,7 @@ TS_INLINE DNSHandler::DNSHandler()
     ns_down[i] = 1;
     con[i].handler = this;
   }
-  memset(&qid_in_flight, 0, sizeof(qid_in_flight));  
+  memset(&qid_in_flight, 0, sizeof(qid_in_flight));
   SET_HANDLER(&DNSHandler::startEvent);
   Debug("net_epoll", "inline DNSHandler::DNSHandler()");
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/eventsystem/I_Tasks.h
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/I_Tasks.h b/iocore/eventsystem/I_Tasks.h
index 4f7a120..64d66a6 100644
--- a/iocore/eventsystem/I_Tasks.h
+++ b/iocore/eventsystem/I_Tasks.h
@@ -31,7 +31,7 @@ extern EventType ET_TASK;
 
 class TasksProcessor: public Processor
 {
- public: 
+ public:
   int start(int task_threads, size_t stacksize=DEFAULT_STACKSIZE);
 };
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/hostdb/P_MultiCache.h
----------------------------------------------------------------------
diff --git a/iocore/hostdb/P_MultiCache.h b/iocore/hostdb/P_MultiCache.h
index 283f8ec..b5f81ac 100644
--- a/iocore/hostdb/P_MultiCache.h
+++ b/iocore/hostdb/P_MultiCache.h
@@ -546,7 +546,7 @@ Lfound:
 template<class C> inline void MultiCache<C>::flush(C * b, int bucket, unsigned int level)
 {
   C *block = NULL;
-  // The comparison against the constant is redundant, but it 
+  // The comparison against the constant is redundant, but it
   // quiets the array_bounds error generated by g++ 4.9.2
   if (level < levels - 1 && level < (MULTI_CACHE_MAX_LEVELS - 1)) {
     if (level >= lowest_level(bucket))

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/I_NetVConnection.h
----------------------------------------------------------------------
diff --git a/iocore/net/I_NetVConnection.h b/iocore/net/I_NetVConnection.h
index 71cd1fc..1d8024e 100644
--- a/iocore/net/I_NetVConnection.h
+++ b/iocore/net/I_NetVConnection.h
@@ -453,7 +453,7 @@ public:
   /** Returns local ip.
       @deprecated get_local_addr() should be used instead for AF_INET6 compatibility.
   */
-  
+
   in_addr_t get_local_ip();
 
   /** Returns local port. */
@@ -462,7 +462,7 @@ public:
   /** Returns remote sockaddr storage. */
   sockaddr const* get_remote_addr();
 
-  /** Returns remote ip. 
+  /** Returns remote ip.
       @deprecated get_remote_addr() should be used instead for AF_INET6 compatibility.
   */
   in_addr_t get_remote_ip();

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/OCSPStapling.cc
----------------------------------------------------------------------
diff --git a/iocore/net/OCSPStapling.cc b/iocore/net/OCSPStapling.cc
index 79e6781..423eb03 100644
--- a/iocore/net/OCSPStapling.cc
+++ b/iocore/net/OCSPStapling.cc
@@ -365,7 +365,7 @@ ocsp_update()
   for (unsigned i = 0; i < ctxCount; i++) {
     SSLCertContext *cc = certLookup->get(i);
     if (cc && cc->ctx) {
-      ctx = cc->ctx; 
+      ctx = cc->ctx;
       cinf = stapling_get_cert_info(ctx);
        if (cinf) {
          ink_mutex_acquire(&cinf->stapling_mutex);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/P_SSLCertLookup.h
----------------------------------------------------------------------
diff --git a/iocore/net/P_SSLCertLookup.h b/iocore/net/P_SSLCertLookup.h
index 05d908c..1c1034a 100644
--- a/iocore/net/P_SSLCertLookup.h
+++ b/iocore/net/P_SSLCertLookup.h
@@ -55,7 +55,7 @@ struct SSLCertContext
   SSLCertContext() : ctx(0), opt(OPT_NONE) {}
   explicit SSLCertContext(SSL_CTX* c) : ctx(c), opt(OPT_NONE) {}
   SSLCertContext(SSL_CTX* c, Option o) : ctx(c), opt(o) {}
-  
+
   SSL_CTX* ctx; ///< openSSL context.
   Option opt; ///< Special handling option.
 };

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/P_SSLNetVConnection.h
----------------------------------------------------------------------
diff --git a/iocore/net/P_SSLNetVConnection.h b/iocore/net/P_SSLNetVConnection.h
index a7cfcbf..c481c8b 100644
--- a/iocore/net/P_SSLNetVConnection.h
+++ b/iocore/net/P_SSLNetVConnection.h
@@ -155,7 +155,7 @@ public:
     this->handShakeHolder = this->handShakeReader->clone();
   }
   void free_handshake_buffers() {
-    
+
     this->handShakeReader->dealloc();
     this->handShakeHolder->dealloc();
     free_MIOBuffer(this->handShakeBuffer);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/P_UnixNetVConnection.h
----------------------------------------------------------------------
diff --git a/iocore/net/P_UnixNetVConnection.h b/iocore/net/P_UnixNetVConnection.h
index d1cac6a..355d6a0 100644
--- a/iocore/net/P_UnixNetVConnection.h
+++ b/iocore/net/P_UnixNetVConnection.h
@@ -53,7 +53,7 @@ NetVCOptions::reset()
   f_blocking_connect = false;
   socks_support = NORMAL_SOCKS;
   socks_version = SOCKS_DEFAULT_VERSION;
-  socket_recv_bufsize = 
+  socket_recv_bufsize =
 #if defined(RECV_BUF_SIZE)
     RECV_BUF_SIZE;
 #else

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/SSLCertLookup.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLCertLookup.cc b/iocore/net/SSLCertLookup.cc
index 814b75d..18d4873 100644
--- a/iocore/net/SSLCertLookup.cc
+++ b/iocore/net/SSLCertLookup.cc
@@ -247,7 +247,7 @@ SSLContextStorage::~SSLContextStorage()
   this->ctx_store.qsort(SSLCtxCompare);
   SSL_CTX *last_ctx = NULL;
   for (unsigned i = 0; i < this->ctx_store.length(); ++i) {
-    if (this->ctx_store[i].ctx != last_ctx) { 
+    if (this->ctx_store[i].ctx != last_ctx) {
       last_ctx = this->ctx_store[i].ctx;
       SSLReleaseContext(this->ctx_store[i].ctx);
     }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/SSLNetVConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 0db4896..9291726 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -142,7 +142,7 @@ make_ssl_connection(SSL_CTX * ctx, SSLNetVConnection * netvc)
       netvc->initialize_handshake_buffers();
       BIO *rbio = BIO_new(BIO_s_mem());
       BIO *wbio = BIO_new_fd(netvc->get_socket(), BIO_NOCLOSE);
-      BIO_set_mem_eof_return(wbio, -1); 
+      BIO_set_mem_eof_return(wbio, -1);
       SSL_set_bio(ssl, rbio, wbio);
     }
 
@@ -286,9 +286,9 @@ ssl_read_from_net(SSLNetVConnection * sslvc, EThread * lthread, int64_t &ret)
 }
 
 /**
- * Read from socket directly for handshake data.  Store the data in 
+ * Read from socket directly for handshake data.  Store the data in
  * a MIOBuffer.  Place the data in the read BIO so the openssl library
- * has access to it.  
+ * has access to it.
  * If for some ready we much abort out of the handshake, we can replay
  * the stored data (e.g. back out to blind tunneling)
  */
@@ -365,16 +365,16 @@ SSLNetVConnection::read_raw_data()
   // Sets up the buffer as a read only bio target
   // Must be reset on each read
   BIO *rbio = BIO_new_mem_buf(start, end - start);
-  BIO_set_mem_eof_return(rbio, -1); 
+  BIO_set_mem_eof_return(rbio, -1);
   // Assigning directly into the SSL structure
   // is dirty, but there is no openssl function that only
   // assigns the read bio.  Originally I was getting and
-  // resetting the same write bio, but that caused the 
+  // resetting the same write bio, but that caused the
   // inserted buffer bios to be freed and then reinserted.
   //BIO *wbio = SSL_get_wbio(this->ssl);
   //SSL_set_bio(this->ssl, rbio, wbio);
   SSL_set_rbio(this, rbio);
- 
+
   return r;
 }
 
@@ -442,8 +442,8 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread *lthread)
         }
         else {  // Now in blind tunnel. Set things up to read what is in the buffer
           this->readSignalDone(VC_EVENT_READ_COMPLETE, nh);
-  
-          // If the handshake isn't set yet, this means the tunnel 
+
+          // If the handshake isn't set yet, this means the tunnel
           // decision was make in the SNI callback.  We must move
           // the client hello message back into the standard read.vio
           // so it will get forwarded onto the origin server
@@ -457,7 +457,7 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread *lthread)
             int64_t r = buf.writer()->write(this->handShakeHolder);
             s->vio.nbytes += r;
             s->vio.ndone += r;
- 
+
             // Clean up the handshake buffers
             this->free_handshake_buffers();
 
@@ -509,29 +509,29 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread *lthread)
   // At this point we are at the post-handshake SSL processing
   // If the read BIO is not already a socket, consider changing it
   if (this->handShakeReader) {
-    if (this->handShakeReader->read_avail() <= 0) { 
+    if (this->handShakeReader->read_avail() <= 0) {
       // Switch the read bio over to a socket bio
       SSL_set_rfd(this->ssl, this->get_socket());
       this->free_handshake_buffers();
-    } 
+    }
     else { // There is still data in the buffer to drain
       char *data_ptr = NULL;
       int data_still_to_read = BIO_get_mem_data(SSL_get_rbio(this->ssl), &data_ptr);
       if (data_still_to_read >  0) {
         // Still data remaining in the current BIO block
       }
-      else { 
+      else {
         // reset the block
         char *start = this->handShakeReader->start();
         char *end = this->handShakeReader->end();
         // Sets up the buffer as a read only bio target
         // Must be reset on each read
         BIO *rbio = BIO_new_mem_buf(start, end - start);
-        BIO_set_mem_eof_return(rbio, -1); 
+        BIO_set_mem_eof_return(rbio, -1);
         // So assigning directly into the SSL structure
         // is dirty, but there is no openssl function that only
         // assigns the read bio.  Originally I was getting and
-        // resetting the same write bio, but that caused the 
+        // resetting the same write bio, but that caused the
         // inserted buffer bios to be freed and then reinserted.
         SSL_set_rbio(this, rbio);
         //BIO *wbio = SSL_get_wbio(this->ssl);
@@ -541,7 +541,7 @@ SSLNetVConnection::net_read_io(NetHandler *nh, EThread *lthread)
   }
   // Otherwise, we already replaced the buffer bio with a socket bio
 
-  // not sure if this do-while loop is really needed here, please replace 
+  // not sure if this do-while loop is really needed here, please replace
   // this comment if you know
   do {
     ret = ssl_read_from_net(this, lthread, r);
@@ -817,7 +817,7 @@ SSLNetVConnection::free(EThread * t) {
   npnEndpoint= NULL;
 
   if (from_accept_thread) {
-    sslNetVCAllocator.free(this);  
+    sslNetVCAllocator.free(this);
   } else {
     THREAD_FREE(this, sslNetVCAllocator, t);
   }
@@ -839,7 +839,7 @@ SSLNetVConnection::sslStartHandShake(int event, int &err)
         IpEndpoint src, dst;
         ip_port_text_buffer ipb1, ipb2;
         int ip_len;
-        
+
         safe_getsockname(this->get_socket(), &dst.sa, &(ip_len = sizeof ip));
         safe_getpeername(this->get_socket(), &src.sa, &(ip_len = sizeof ip));
         ats_ip_nptop(&dst, ipb1, sizeof(ipb1));
@@ -857,7 +857,7 @@ SSLNetVConnection::sslStartHandShake(int event, int &err)
         this->ssl = NULL;
         return EVENT_DONE;
       }
- 
+
 
       // Attach the default SSL_CTX to this SSL session. The default context is never going to be able
       // to negotiate a SSL session, but it's enough to trampoline us into the SNI callback where we
@@ -923,7 +923,7 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err)
     }
   }
 
-  // If a blind tunnel was requested in the pre-accept calls, convert. 
+  // If a blind tunnel was requested in the pre-accept calls, convert.
   // Again no data has been exchanged, so we can go directly
   // without data replay.
   // Note we can't arrive here if a hook is active.
@@ -943,7 +943,7 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err)
   char *data_ptr = NULL;
   int data_to_read = BIO_get_mem_data(SSL_get_rbio(this->ssl), &data_ptr);
   if (data_to_read <= 0) { // If there is not already data in the buffer
-    // Read from socket to fill in the BIO buffer with the 
+    // Read from socket to fill in the BIO buffer with the
     // raw handshake data before calling the ssl accept calls.
     int64_t data_read;
     if ((data_read = this->read_raw_data()) > 0) {
@@ -1075,7 +1075,7 @@ SSLNetVConnection::sslClientHandShakeEvent(int &err)
     }
   }
 #endif
-  
+
   ssl_error_t ssl_error = SSLConnect(ssl);
   switch (ssl_error) {
   case SSL_ERROR_NONE:
@@ -1222,8 +1222,8 @@ SSLNetVConnection::sslContextSet(void* ctx) {
   return zret;
 }
 
-bool 
-SSLNetVConnection::callHooks(TSHttpHookID eventId) 
+bool
+SSLNetVConnection::callHooks(TSHttpHookID eventId)
 {
   // Only dealing with the SNI hook so far
   ink_assert(eventId == TS_SSL_SNI_HOOK);
@@ -1237,7 +1237,7 @@ SSLNetVConnection::callHooks(TSHttpHookID eventId)
     // Invoke the hook
     hook->invoke(TS_SSL_SNI_HOOK, this);
 
-    // If it did not re-enable, return the code to 
+    // If it did not re-enable, return the code to
     // stop the accept processing
     if (this->sslSNIHookState == SNI_HOOKS_DONE) {
       reenabled = false;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/UnixConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixConnection.cc b/iocore/net/UnixConnection.cc
index d738c5e..375ae98 100644
--- a/iocore/net/UnixConnection.cc
+++ b/iocore/net/UnixConnection.cc
@@ -335,7 +335,7 @@ Connection::connect(sockaddr const* target, NetVCOptions const& opt) {
   // (Is EWOULDBLOCK ok? Does that start the connect?)
   // We also want to handle the cases where the connect blocking
   // and IO blocking differ, by turning it on or off as needed.
-  if (-1 == res 
+  if (-1 == res
       && (opt.f_blocking_connect
           || ! (EINPROGRESS == errno || EWOULDBLOCK == errno))) {
     return -errno;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/iocore/net/UnixNetVConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index 955ffb2..b3d1a17 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -1104,7 +1104,7 @@ UnixNetVConnection::connectUp(EThread *t, int fd)
 
   // Force family to agree with remote (server) address.
   options.ip_family = server_addr.sa.sa_family;
-  
+
   //
   // Initialize this UnixNetVConnection
   //
@@ -1208,7 +1208,7 @@ UnixNetVConnection::free(EThread *t)
   ink_assert(t == this_ethread());
 
   if (from_accept_thread) {
-    netVCAllocator.free(this);  
+    netVCAllocator.free(this);
   } else {
     THREAD_FREE(this, netVCAllocator, t);
   }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc b/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc
index fe98748..62db54a 100644
--- a/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc
+++ b/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc
@@ -82,7 +82,7 @@ public:
     AsyncHttpFetch *post_request = new AsyncHttpFetch("http://127.0.0.1/post", "data");
 
     (void)post_request;
-    
+
     Async::execute<AsyncHttpFetch>(this, new AsyncHttpFetch("http://127.0.0.1/post", "data"),
                                    getMutex());
     ++num_fetches_pending_;
@@ -141,7 +141,7 @@ private:
     const Response &response = async_http_fetch.getResponse();
     if (async_http_fetch.getResult() == AsyncHttpFetch::RESULT_SUCCESS) {
       TS_DEBUG(TAG, "Response version is [%s], status code %d, reason phrase [%s]",
-               HTTP_VERSION_STRINGS[response.getVersion()].c_str(), response.getStatusCode(), 
+               HTTP_VERSION_STRINGS[response.getVersion()].c_str(), response.getStatusCode(),
                response.getReasonPhrase().c_str());
 
       TS_DEBUG(TAG, "Reponse Headers: \n%s\n", response.getHeaders().str().c_str());

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc b/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc
index 5312d3b..445188e 100644
--- a/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc
+++ b/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc
@@ -34,7 +34,7 @@ class NullTransformationPlugin : public TransformationPlugin {
 public:
   NullTransformationPlugin(Transaction &transaction, TransformationPlugin::Type xformType)
     : TransformationPlugin(transaction, xformType) {
-    registerHook((xformType == TransformationPlugin::REQUEST_TRANSFORMATION) ? 
+    registerHook((xformType == TransformationPlugin::REQUEST_TRANSFORMATION) ?
                  HOOK_SEND_REQUEST_HEADERS : HOOK_SEND_RESPONSE_HEADERS);
   }
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc b/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc
index 9f15209..bb0a246 100644
--- a/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc
+++ b/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc
@@ -44,7 +44,7 @@ public:
     while (std::getline(iss, query_param_raw, '&')) {
       size_t equals_pos = query_param_raw.find('=');
       if (equals_pos && (equals_pos < (query_param_raw.size() - 1))) {
-        query_params[string(query_param_raw, 0, equals_pos)] = 
+        query_params[string(query_param_raw, 0, equals_pos)] =
           string(query_param_raw, equals_pos + 1, query_param_raw.size() - equals_pos - 1);
       }
     }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/CaseInsensitiveStringComparator.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/CaseInsensitiveStringComparator.cc b/lib/atscppapi/src/CaseInsensitiveStringComparator.cc
index 2d8b77b..e30ce96 100644
--- a/lib/atscppapi/src/CaseInsensitiveStringComparator.cc
+++ b/lib/atscppapi/src/CaseInsensitiveStringComparator.cc
@@ -47,11 +47,11 @@ int CaseInsensitiveStringComparator::compare(const string &lhs, const string &rh
   }
   size_t lhs_size = lhs.size();
   size_t rhs_size = rhs.size();
-  if ((lhs_size > 0) && (rhs_size > 0)) { 
+  if ((lhs_size > 0) && (rhs_size > 0)) {
     size_t num_chars_to_compare = (lhs_size < rhs_size) ? lhs_size : rhs_size;
     for (size_t i = 0; i < num_chars_to_compare; ++i) {
-      unsigned char normalized_lhs_char = NORMALIZED_CHARACTERS[static_cast<const unsigned char>(lhs[i])]; 
-      unsigned char normalized_rhs_char = NORMALIZED_CHARACTERS[static_cast<const unsigned char>(rhs[i])]; 
+      unsigned char normalized_lhs_char = NORMALIZED_CHARACTERS[static_cast<const unsigned char>(lhs[i])];
+      unsigned char normalized_rhs_char = NORMALIZED_CHARACTERS[static_cast<const unsigned char>(rhs[i])];
       if (normalized_lhs_char < normalized_rhs_char) {
         return -1;
       }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/Headers.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/Headers.cc b/lib/atscppapi/src/Headers.cc
index 0cdb089..5693c52 100644
--- a/lib/atscppapi/src/Headers.cc
+++ b/lib/atscppapi/src/Headers.cc
@@ -194,7 +194,7 @@ HeaderFieldName HeaderField::name() const {
 }
 
 std::string HeaderField::values(const char *join) {
-  std::string ret; 
+  std::string ret;
   for(header_field_value_iterator it = begin(); it != end(); ++it) {
     if (ret.size()) {
       ret.append(join);
@@ -309,7 +309,7 @@ header_field_iterator::header_field_iterator(void *hdr_buf, void *hdr_loc, void
                                       static_cast<TSMLoc>(field_loc))) { }
 
 header_field_iterator::header_field_iterator(const header_field_iterator& it) :
-  state_(new HeaderFieldIteratorState(*it.state_)) { } 
+  state_(new HeaderFieldIteratorState(*it.state_)) { }
 
 header_field_iterator &header_field_iterator::operator=(const header_field_iterator &rhs) {
   if (this != &rhs) {
@@ -337,7 +337,7 @@ HeaderFieldIteratorState *advanceIterator(HeaderFieldIteratorState *state,
 }
 
 header_field_iterator& header_field_iterator::operator++() {
-  state_ = advanceIterator(state_, TSMimeHdrFieldNext);  
+  state_ = advanceIterator(state_, TSMimeHdrFieldNext);
   return *this;
 }
 
@@ -348,7 +348,7 @@ header_field_iterator header_field_iterator::operator++(int) {
 }
 
 header_field_iterator& header_field_iterator::nextDup() {
-  state_ = advanceIterator(state_, TSMimeHdrFieldNextDup);  
+  state_ = advanceIterator(state_, TSMimeHdrFieldNextDup);
   return *this;
 }
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/InterceptPlugin.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/InterceptPlugin.cc b/lib/atscppapi/src/InterceptPlugin.cc
index 9384fea..fb73602 100644
--- a/lib/atscppapi/src/InterceptPlugin.cc
+++ b/lib/atscppapi/src/InterceptPlugin.cc
@@ -88,9 +88,9 @@ struct InterceptPlugin::State {
     plugin_mutex_ = plugin->getMutex();
     http_parser_ = TSHttpParserCreate();
   }
-  
+
   ~State() {
-    TSHttpParserDestroy(http_parser_); 
+    TSHttpParserDestroy(http_parser_);
     if (hdr_loc_) {
       TSHandleMLocRelease(hdr_buf_, TS_NULL_MLOC, hdr_loc_);
     }
@@ -180,7 +180,7 @@ bool InterceptPlugin::doRead() {
     LOG_ERROR("Error while getting number of bytes available");
     return false;
   }
-  
+
   int consumed = 0; // consumed is used to update the input buffers
   if (avail > 0) {
     int64_t num_body_bytes_in_block;
@@ -233,7 +233,7 @@ bool InterceptPlugin::doRead() {
   }
   LOG_DEBUG("Consumed %d bytes from input vio", consumed);
   TSIOBufferReaderConsume(state_->input_.reader_, consumed);
-  
+
   // Modify the input VIO to reflect how much data we've completed.
   TSVIONDoneSet(state_->input_.vio_, TSVIONDoneGet(state_->input_.vio_) + consumed);
 
@@ -274,11 +274,11 @@ void InterceptPlugin::handleEvent(int abstract_event, void *edata) {
     break;
 
   case TS_EVENT_VCONN_WRITE_READY: // nothing to do
-    LOG_DEBUG("Got write ready"); 
+    LOG_DEBUG("Got write ready");
     break;
 
   case TS_EVENT_VCONN_READ_READY:
-    LOG_DEBUG("Handling read ready");  
+    LOG_DEBUG("Handling read ready");
     if (doRead()) {
       break;
     }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/Request.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/Request.cc b/lib/atscppapi/src/Request.cc
index f885690..15e3235 100644
--- a/lib/atscppapi/src/Request.cc
+++ b/lib/atscppapi/src/Request.cc
@@ -73,7 +73,7 @@ Request::Request(const string &url_str, HttpMethod method, HttpVersion version)
   }
   else {
     state_->url_loc_ = NULL;
-    LOG_ERROR("Could not create URL field; hdr_buf %p", state_->hdr_buf_); 
+    LOG_ERROR("Could not create URL field; hdr_buf %p", state_->hdr_buf_);
   }
 }
 
@@ -153,7 +153,7 @@ atscppapi::Headers &Request::getHeaders() const {
 Request::~Request() {
   if (state_->url_loc_) {
     if (state_->destroy_buf_) {
-      // usually, hdr_loc is the parent of url_loc, but we created this url_loc "directly" in hdr_buf, 
+      // usually, hdr_loc is the parent of url_loc, but we created this url_loc "directly" in hdr_buf,
       // so we use null as parent loc in this case
       TSMLoc null_parent_loc = NULL;
       TSHandleMLocRelease(state_->hdr_buf_, null_parent_loc, state_->url_loc_);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/Async.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/Async.h b/lib/atscppapi/src/include/atscppapi/Async.h
index 3bfa2f4..72e0eb5 100644
--- a/lib/atscppapi/src/include/atscppapi/Async.h
+++ b/lib/atscppapi/src/include/atscppapi/Async.h
@@ -57,8 +57,8 @@ public:
 };
 
 /**
- * @brief AsyncProvider is the interface that providers of async operations must implement. 
- * The system allows decoupling of the lifetime/scope of provider and receiver objects. The 
+ * @brief AsyncProvider is the interface that providers of async operations must implement.
+ * The system allows decoupling of the lifetime/scope of provider and receiver objects. The
  * receiver object might have expired before the async operation is complete and the system
  * handles this case. Because of this decoupling, it is the responsibility of the provider
  * to manage it's expiration - self-destruct on completion is a good option.
@@ -67,7 +67,7 @@ class AsyncProvider {
 public:
   /**
    * This method is invoked when the async operation is requested. This call should be used
-   * to just start the async operation and *not* block this thread. On completion, 
+   * to just start the async operation and *not* block this thread. On completion,
    * getDispatchController() can be used to invoke the receiver.
    */
   virtual void run() = 0;
@@ -143,7 +143,7 @@ private:
 
 /**
  * @private
- * 
+ *
  * @brief A promise is used to let the dispatch controller know if the receiver is still
  * alive to receive the async complete dispatch. When the receiver dies, this promise is
  * broken and it automatically updates the dispatch controller.
@@ -191,13 +191,13 @@ private:
 class Async : noncopyable {
 public:
   /**
-   * This method sets up the dispatch controller to link the async operation provider and 
-   * receiver and then initiates the operation by invoking the provider. 
+   * This method sets up the dispatch controller to link the async operation provider and
+   * receiver and then initiates the operation by invoking the provider.
    *
    * @param event_receiver The receiver of the async complete dispatch.
    * @param provider The provider of the async operation.
    * @param mutex The mutex that is locked during the dispatch of the async event complete.
-   *              One will be created if nothing is passed in. Transaction plugins should use 
+   *              One will be created if nothing is passed in. Transaction plugins should use
    *              TransactionPlugin::getMutex() here and global plugins can pass an appropriate
    *              or NULL mutex.
    */

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/AsyncTimer.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/AsyncTimer.h b/lib/atscppapi/src/include/atscppapi/AsyncTimer.h
index 5b5f6d5..ecb6621 100644
--- a/lib/atscppapi/src/include/atscppapi/AsyncTimer.h
+++ b/lib/atscppapi/src/include/atscppapi/AsyncTimer.h
@@ -40,7 +40,7 @@ struct AsyncTimerState;
  * acts as a timer. It sends events at the set frequency. Calling the
  * destructor will stop the events. A one-off timer just sends one
  * event. Calling the destructor before this event will cancel the timer.
- * 
+ *
  * For either type, user must delete the timer.
  *
  * See example async_timer for sample usage.
@@ -52,7 +52,7 @@ public:
 
   /**
    * Constructor.
-   * 
+   *
    * @param type A one-off timer fires only once and a periodic timer fires periodically.
    * @param period_in_ms The receiver will receive an event every this many milliseconds.
    * @param initial_period_in_ms The first event will arrive after this many milliseconds. Subsequent
@@ -66,7 +66,7 @@ public:
 
   /**
    * Starts the timer.
-   */  
+   */
   void run();
 
   void cancel();

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/ClientRequest.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/ClientRequest.h b/lib/atscppapi/src/include/atscppapi/ClientRequest.h
index 2da61c5..0eee284 100644
--- a/lib/atscppapi/src/include/atscppapi/ClientRequest.h
+++ b/lib/atscppapi/src/include/atscppapi/ClientRequest.h
@@ -32,7 +32,7 @@ struct ClientRequestState;
 
 /**
  * @brief Encapsulates a client request. A client request is different from a
- * server request as it has two URLs - the pristine URL sent by the client 
+ * server request as it has two URLs - the pristine URL sent by the client
  * and a remapped URL created by the server.
  */
 class ClientRequest : public Request {
@@ -43,7 +43,7 @@ public:
   ClientRequest(void *raw_txn, void *hdr_buf, void *hdr_loc);
 
   /**
-   * Returns the pristine (pre-remap) client request URL 
+   * Returns the pristine (pre-remap) client request URL
    *
    * @return Url Reference to non-mutable pristine URL.
    */

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/Headers.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/Headers.h b/lib/atscppapi/src/include/atscppapi/Headers.h
index 98340d2..751ff6b 100644
--- a/lib/atscppapi/src/include/atscppapi/Headers.h
+++ b/lib/atscppapi/src/include/atscppapi/Headers.h
@@ -233,7 +233,7 @@ class HeaderField {
 private:
   header_field_iterator iter_;
   HeaderField(header_field_iterator iter) : iter_(iter) { }
-  
+
 public:
   typedef unsigned int size_type;
   typedef header_field_value_iterator iterator;
@@ -527,7 +527,7 @@ public:
   /**
     * Returns the value at given position of header with given name
     * @param name of header
-    * @param position of value 
+    * @param position of value
     * @return value
     */
   std::string value(const std::string key, size_type index = 0);

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/InterceptPlugin.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/InterceptPlugin.h b/lib/atscppapi/src/include/atscppapi/InterceptPlugin.h
index da8d5a4..709e9c5 100644
--- a/lib/atscppapi/src/include/atscppapi/InterceptPlugin.h
+++ b/lib/atscppapi/src/include/atscppapi/InterceptPlugin.h
@@ -88,7 +88,7 @@ protected:
 
 private:
   State *state_;
-  
+
   bool doRead();
   void handleEvent(int, void *);
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/PluginInit.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/PluginInit.h b/lib/atscppapi/src/include/atscppapi/PluginInit.h
index ffa2f91..5a4ffb3 100644
--- a/lib/atscppapi/src/include/atscppapi/PluginInit.h
+++ b/lib/atscppapi/src/include/atscppapi/PluginInit.h
@@ -28,7 +28,7 @@
 
 extern "C" {
 
-/** 
+/**
  * Invoked for "general" plugins - listed in plugin.config. The arguments in the
  * plugin.config line are provided in this invocation.
  *
@@ -39,7 +39,7 @@ void TSPluginInit(int argc, const char *argv[]);
 
 enum TsReturnCode { TS_ERROR = -1, TS_SUCCESS = 0 };
 
-/** 
+/**
  * Invoked for remap plugins - listed in remap.config. The arguments provided as @pparam
  * in the remap.config line are provided in this invocation.
  *

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/RemapPlugin.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/RemapPlugin.h b/lib/atscppapi/src/include/atscppapi/RemapPlugin.h
index 2f33143..3f44f78 100644
--- a/lib/atscppapi/src/include/atscppapi/RemapPlugin.h
+++ b/lib/atscppapi/src/include/atscppapi/RemapPlugin.h
@@ -30,14 +30,14 @@
 
 namespace atscppapi {
 
-/** 
+/**
  * @brief Base class that remap plugins should extend.
  */
 class RemapPlugin {
 public:
   /**
    * Constructor
-   * 
+   *
    * @param instance_handle The instance_handle argument received in TSRemapInit() should be passed here.
    */
   RemapPlugin(void **instance_handle);
@@ -45,15 +45,15 @@ public:
   enum Result { RESULT_ERROR = 0, RESULT_NO_REMAP, RESULT_DID_REMAP, RESULT_NO_REMAP_STOP,
                 RESULT_DID_REMAP_STOP };
 
-  /** 
+  /**
    * Invoked when a request matches the remap.config line - implementation should perform the
    * remap. The client's URL is in the transaction and that's where it should be modified.
-   * 
+   *
    * @param map_from_url The map from URL specified in the remap.config line.
    * @param map_to_url The map to URL specified in the remap.config line.
    * @param transaction Transaction
    * @param redirect Output argument that should be set to true if the (new) url should be used
-   *                 as a redirect. 
+   *                 as a redirect.
    *
    * @return Result of the remap - will dictate futher processing by the system.
    */

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/include/atscppapi/Request.h
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/include/atscppapi/Request.h b/lib/atscppapi/src/include/atscppapi/Request.h
index 8831725..f2aa1bb 100644
--- a/lib/atscppapi/src/include/atscppapi/Request.h
+++ b/lib/atscppapi/src/include/atscppapi/Request.h
@@ -44,7 +44,7 @@ public:
   /**
    * Constructed with an initial URL.
    */
-  Request(const std::string &url, HttpMethod method = HTTP_METHOD_GET, HttpVersion version = HTTP_VERSION_1_1); 
+  Request(const std::string &url, HttpMethod method = HTTP_METHOD_GET, HttpVersion version = HTTP_VERSION_1_1);
 
   /** @return HTTP method of the request */
   HttpMethod getMethod() const;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/atscppapi/src/utils_internal.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/utils_internal.cc b/lib/atscppapi/src/utils_internal.cc
index 33baa53..040ffb0 100644
--- a/lib/atscppapi/src/utils_internal.cc
+++ b/lib/atscppapi/src/utils_internal.cc
@@ -68,7 +68,7 @@ int handleTransactionEvents(TSCont cont, TSEvent event, void *edata) {
     utils::internal::initTransactionClientResponse(transaction);
     break;
   case TS_EVENT_HTTP_TXN_CLOSE:
-    { // opening scope to declare plugins variable below 
+    { // opening scope to declare plugins variable below
       const std::list<TransactionPlugin *> &plugins = utils::internal::getTransactionPlugins(transaction);
       for (std::list<TransactionPlugin *>::const_iterator iter = plugins.begin(), end = plugins.end();
            iter != end; ++iter) {
@@ -85,7 +85,7 @@ int handleTransactionEvents(TSCont cont, TSEvent event, void *edata) {
   default:
     assert(false); /* we should never get here */
     break;
-  }    
+  }
   TSHttpTxnReenable(ats_txn_handle, TS_EVENT_HTTP_CONTINUE);
   return 0;
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/records/RecHttp.cc
----------------------------------------------------------------------
diff --git a/lib/records/RecHttp.cc b/lib/records/RecHttp.cc
index 78c1edd..5d263a2 100644
--- a/lib/records/RecHttp.cc
+++ b/lib/records/RecHttp.cc
@@ -403,12 +403,12 @@ void
 SessionProtocolNameRegistry::markIn(char const* value, SessionProtocolSet& sp_set) {
   int n; // # of tokens
   Tokenizer tokens(" ;|,:");
- 
+
   n = tokens.Initialize(value);
 
   for ( int i = 0 ; i < n ; ++i ) {
     char const* elt = tokens[i];
-    
+
     /// Check special cases
     if (0 == strcasecmp(elt, TS_NPN_PROTOCOL_GROUP_HTTP)) {
       sp_set.markIn(HTTP_PROTOCOL_SET);
@@ -525,7 +525,7 @@ HttpProxyPort::print(char* out, size_t n) {
     need_colon_p = false;
   }
   if (sp_set.contains(SPDY_PROTOCOL_SET)) {
-    if (need_colon_p) 
+    if (need_colon_p)
       zret += snprintf(out+zret, n-zret, ":%s=", OPT_PROTO_PREFIX);
     else
       out[zret++] = ';';

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/ts/IntrusiveDList.h
----------------------------------------------------------------------
diff --git a/lib/ts/IntrusiveDList.h b/lib/ts/IntrusiveDList.h
index 2bb82b4..81a5192 100644
--- a/lib/ts/IntrusiveDList.h
+++ b/lib/ts/IntrusiveDList.h
@@ -67,12 +67,12 @@ namespace std {
         Elt* _prev;
       };
     @endcode
-  
+
     The list is declared as
     @code
       typedef IntrusiveDList<Elt, &Elt::_next, &Elt::_prev> EltList;
     @endcode
-  
+
     An element can be in multiple types of lists simultaneously as
     long as each list type uses distinct members. It is not possible
     for an element to be in more than one list of the same type

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/ts/IpMap.cc
----------------------------------------------------------------------
diff --git a/lib/ts/IpMap.cc b/lib/ts/IpMap.cc
index 4b879ff..ce44118 100644
--- a/lib/ts/IpMap.cc
+++ b/lib/ts/IpMap.cc
@@ -107,7 +107,7 @@ template <
   typename N ///< Node type.
 > struct IpMapBase {
   friend class ::IpMap;
-  
+
   typedef IpMapBase self; ///< Self reference type.
   typedef typename N::ArgType ArgType; ///< Import type.
   typedef typename N::Metric Metric;   ///< Import type.g482
@@ -218,7 +218,7 @@ template <
   /// Print all spans.
   /// @return This map.
   self& print();
-  
+
   // Helper methods.
   N* prev(RBNode* n) const { return static_cast<N*>(n->_prev); }
   N* next(RBNode* n) const { return static_cast<N*>(n->_next); }
@@ -673,7 +673,7 @@ public:
     return *this;
   }
 protected:
-  
+
   /// Set the minimum value of the interval.
   /// @return This interval.
   self& setMin(
@@ -683,7 +683,7 @@ protected:
     _sa._min.sin_addr.s_addr = htonl(min);
     return *this;
   }
-  
+
   /// Set the maximum value of the interval.
   /// @return This interval.
   self& setMax(
@@ -693,7 +693,7 @@ protected:
     _sa._max.sin_addr.s_addr = htonl(max);
     return *this;
   }
-  
+
   /** Set the maximum value to one less than @a max.
       @return This object.
   */
@@ -731,14 +731,14 @@ protected:
   ) {
     ++m;
   }
-  
+
   /// Decrement a metric.
   static void dec(
     Metric& m ///< Decremented in place.
   ) {
     --m;
   }
-  
+
   /// @return Dereferenced @a addr.
   static Metric deref(
     ArgType addr ///< Argument to dereference.
@@ -752,7 +752,7 @@ protected:
   ) {
     return metric;
   }
-  
+
   struct {
     sockaddr_in _min;
     sockaddr_in _max;
@@ -807,7 +807,7 @@ public:
     return *this;
   }
 protected:
-  
+
   /// Set the minimum value of the interval.
   /// @return This interval.
   self& setMin(
@@ -816,7 +816,7 @@ protected:
     ats_ip_copy(ats_ip_sa_cast(&_min), ats_ip_sa_cast(min));
     return *this;
   }
-  
+
   /// Set the minimum value of the interval.
   /// @note Convenience overload.
   /// @return This interval.
@@ -825,7 +825,7 @@ protected:
   ) {
     return this->setMin(&min);
   }
-  
+
   /// Set the maximum value of the interval.
   /// @return This interval.
   self& setMax(
@@ -870,7 +870,7 @@ protected:
       @return This object.
   */
   self& incrementMin() { inc(_min); return *this; }
-  
+
   /// Increment a metric.
   static void inc(
     Metric& m ///< Incremented in place.
@@ -883,7 +883,7 @@ protected:
       ++*--b;
     } while (b > addr && 0 == *b);
   }
-  
+
   /// Decrement a metric.
   static void dec(
     Metric& m ///< Decremented in place.
@@ -902,14 +902,14 @@ protected:
   ) {
     return *addr;
   }
-  
+
   /// @return The argument type for the @a metric.
   static ArgType argue(
     Metric const& metric
   ) {
     return &metric;
   }
-  
+
 };
 
 // We declare this after the helper operators and inside this namespace

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/ts/IpMap.h
----------------------------------------------------------------------
diff --git a/lib/ts/IpMap.h b/lib/ts/IpMap.h
index 7afb9a6..77bef62 100644
--- a/lib/ts/IpMap.h
+++ b/lib/ts/IpMap.h
@@ -94,7 +94,7 @@ public:
   typedef IpMap self; ///< Self reference type.
 
   class iterator; // forward declare.
-  
+
   /** Public API for intervals in the map.
   */
   class Node : protected ts::detail::RBNode {
@@ -360,10 +360,10 @@ protected:
   /// Force the IPv6 map to exist.
   /// @return The IPv6 map.
   ts::detail::Ip6Map* force6();
-  
+
   ts::detail::Ip4Map* _m4; ///< Map of IPv4 addresses.
   ts::detail::Ip6Map* _m6; ///< Map of IPv6 addresses.
-  
+
 };
 
 inline IpMap& IpMap::mark(in_addr_t addr, void* data) {

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/ts/IpMapTest.cc
----------------------------------------------------------------------
diff --git a/lib/ts/IpMapTest.cc b/lib/ts/IpMapTest.cc
index ead0d48..14a8107 100644
--- a/lib/ts/IpMapTest.cc
+++ b/lib/ts/IpMapTest.cc
@@ -158,7 +158,7 @@ REGRESSION_TEST(IpMap_Fill)(RegressionTest* t, int /* atype ATS_UNUSED */, int*
   IpMap map;
   ip_text_buffer ipb1, ipb2;
   void* const allow = reinterpret_cast<void*>(0);
-  void* const deny = reinterpret_cast<void*>(~0); 
+  void* const deny = reinterpret_cast<void*>(~0);
   void* const markA = reinterpret_cast<void*>(1);
   void* const markB = reinterpret_cast<void*>(2);
   void* const markC = reinterpret_cast<void*>(3);
@@ -265,7 +265,7 @@ REGRESSION_TEST(IpMap_Fill)(RegressionTest* t, int /* atype ATS_UNUSED */, int*
            "IpMap Fill[v6]: 9d9b address has bad mark.");
   tb.check(map.contains(&a_0000_0001, &mark) && mark == markA,
            "IpMap Fill[v6]: ::1 has bad mark.");
-  
+
   tb.check(map.getCount() == 10, "IpMap Fill[pre-refill]: Bad range count.");
   // These should be ignored by the map as it is completely covered for IPv6.
   map.fill(&a_fe80_9d90, &a_fe80_9d9d, markA);
@@ -291,5 +291,5 @@ REGRESSION_TEST(IpMap_Fill)(RegressionTest* t, int /* atype ATS_UNUSED */, int*
            "IpMap Fill[v6-2]: 9d9b address has bad mark.");
   tb.check(map.contains(&a_0000_0001, &mark) && mark == markC,
            "IpMap Fill[v6-2]: ::1 has bad mark.");
- 
+
 }

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab5ba9a8/lib/ts/List.h
----------------------------------------------------------------------
diff --git a/lib/ts/List.h b/lib/ts/List.h
index af44ece..4faa327 100644
--- a/lib/ts/List.h
+++ b/lib/ts/List.h
@@ -468,7 +468,7 @@ List<C,A>::reverse() {
 
 //
 // Atomic lists
-// 
+//
 
 template<class C, class L = typename C::Link_link> struct AtomicSLL
 {