You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by je...@ci.trafficserver.apache.org on 2016/03/16 17:03:12 UTC

Build failed in Jenkins: clang-format #642

See <https://ci.trafficserver.apache.org/job/clang-format/642/changes>

Changes:

[John_Rushford] TS-4115: Add a multi origin hierarchy to parent selection.

------------------------------------------
[...truncated 1606 lines...]
./proxy/logging/LogHost.h
./proxy/logging/LogAccessHttp.h
./proxy/logging/LogCollationAccept.h
./proxy/logging/LogBuffer.h
./proxy/logging/LogLimits.h
./proxy/logging/LogAccessTest.cc
./proxy/logging/LogAccess.cc
./proxy/logging/LogCollationHostSM.cc
./proxy/logging/Log.h
./proxy/logging/LogAccess.h
./proxy/logging/LogAccessTest.h
./proxy/logging/LogStandalone.cc
./proxy/logging/LogField.cc
./proxy/logging/LogConfig.h
./proxy/logging/LogCollationClientSM.h
./proxy/ParentConsistentHash.cc
./proxy/StufferUdpReceiver.cc
./proxy/ICPevents.h
./proxy/logstats.cc
./proxy/UDPAPITest.cc
./proxy/api/ts/InkAPIPrivateIOCore.h
./proxy/api/ts/ts.h
./proxy/api/ts/experimental.h
./proxy/api/ts/TsException.h
./proxy/api/ts/remap.h
./proxy/Milestones.h
./proxy/Transform.cc
./proxy/test_xml_parser.cc
./proxy/AbstractBuffer.h
./proxy/CoreUtils.h
./proxy/ControlMatcher.cc
./proxy/ICPStats.cc
./proxy/TransformInternal.h
./proxy/Main.h
./proxy/ICPlog.h
./proxy/StatPages.cc
./proxy/ProtocolProbeSessionAccept.cc
./proxy/logcat.cc
./proxy/AbstractBuffer.cc
./proxy/TestDNS.cc
./proxy/Plugin.h
./proxy/congest/Congestion.h
./proxy/congest/CongestionTest.cc
./proxy/congest/CongestionStats.h
./proxy/congest/CongestionDB.h
./proxy/congest/CongestionStats.cc
./proxy/congest/CongestionDB.cc
./proxy/congest/Congestion.cc
./proxy/congest/MT_hashtable.h
./proxy/TestPreProc.cc
./proxy/ProtocolProbeSessionAccept.h
./proxy/FetchSM.h
./proxy/Crash.cc
./proxy/ParentRoundRobin.h
./proxy/InkAPIInternal.h
./proxy/Show.h
./proxy/spdy/SpdyDefs.h
./proxy/spdy/SpdySessionAccept.h
./proxy/spdy/SpdySessionAccept.cc
./proxy/spdy/SpdyClientSession.h
./proxy/spdy/SpdyClientSession.cc
./proxy/spdy/SpdyCallbacks.cc
./proxy/spdy/SpdyCommon.h
./proxy/spdy/SpdyCommon.cc
./proxy/spdy/SpdyCallbacks.h
./proxy/PluginVC.h
./proxy/RegressionSM.cc
./proxy/FetchSM.cc
./proxy/TestClusterHash.cc
./proxy/ParentRoundRobin.cc
./proxy/TimeTrace.h
./proxy/ParentSelection.h
./proxy/InkIOCoreAPI.cc
./proxy/Transform.h
./proxy/InkAPI.cc
./proxy/RegressionSM.h
./proxy/ProxyClientSession.cc
./proxy/CoreUtils.cc
./proxy/shared/Error.h
./proxy/shared/UglyLogStubs.cc
./proxy/shared/DiagsConfig.h
./proxy/shared/InkXml.cc
./proxy/shared/DiagsConfig.cc
./proxy/shared/InkXml.h
./proxy/shared/Error.cc
./proxy/UnixCompletionUtil.h
./proxy/ICPConfig.cc
./proxy/IPAllow.h
./proxy/TestProxy.cc
./proxy/ParentSelection.cc
./proxy/HttpTransStats.h
./proxy/PluginVC.cc
./proxy/EventName.h
./proxy/TestSimpleProxy.cc
./proxy/ConfigParse.h
./proxy/Prefetch.h
./proxy/http/TestUrl.cc
./proxy/http/HttpBodyFactory.h
./proxy/http/HttpClientSession.h
./proxy/http/HttpTransactHeaders.cc
./proxy/http/HttpTransact.cc
./proxy/http/HttpPages.h
./proxy/http/HttpProxyServerMain.cc
./proxy/http/HttpServerSession.h
./proxy/http/HttpPages.cc
./proxy/http/HttpTunnel.cc
./proxy/http/TestHttpTransact.cc
./proxy/http/test_socket_close.cc
./proxy/http/HttpSM.cc
./proxy/http/HttpConfig.h
./proxy/http/HttpUpdateTester.cc
./proxy/http/HttpSessionManager.h
./proxy/http/HttpProxyAPIEnums.h
./proxy/http/HttpCacheSM.cc
./proxy/http/HttpTransactHeaders.h
./proxy/http/HttpTransactCache.h
./proxy/http/HttpTransactCache.cc
./proxy/http/HttpProxyServerMain.h
./proxy/http/HttpTunnel.h
./proxy/http/HttpUpdateSM.h
./proxy/http/HttpDebugNames.h
./proxy/http/HttpBodyFactory.cc
./proxy/http/HttpClientSession.cc
./proxy/http/HttpTransact.h
./proxy/http/HttpConfig.cc
./proxy/http/HttpServerSession.cc
./proxy/http/HttpUpdateSM.cc
./proxy/http/HttpConnectionCount.h
./proxy/http/testheaders.cc
./proxy/http/HttpConnectionCount.cc
./proxy/http/HttpSessionAccept.h
./proxy/http/HttpDebugNames.cc
./proxy/http/RegressionHttpTransact.cc
./proxy/http/HttpSessionAccept.cc
./proxy/http/remap/RemapConfig.cc
./proxy/http/remap/UrlMapping.h
./proxy/http/remap/RemapProcessor.h
./proxy/http/remap/UrlRewrite.h
./proxy/http/remap/RemapPlugins.cc
./proxy/http/remap/UrlMapping.cc
./proxy/http/remap/AclFiltering.h
./proxy/http/remap/RemapPluginInfo.h
./proxy/http/remap/UrlMappingPathIndex.h
./proxy/http/remap/RemapProcessor.cc
./proxy/http/remap/RemapPlugins.h
./proxy/http/remap/UrlRewrite.cc
./proxy/http/remap/RemapPluginInfo.cc
./proxy/http/remap/RemapConfig.h
./proxy/http/remap/AclFiltering.cc
./proxy/http/remap/UrlMappingPathIndex.cc
./proxy/http/HttpSessionManager.cc
./proxy/http/HttpCacheSM.h
./proxy/http/HttpSM.h
./proxy/TestRegex.cc
./proxy/IPAllow.cc
./proxy/ICPProcessor.cc
./proxy/ReverseProxy.cc
./proxy/ControlMatcher.h
./proxy/SocksProxy.cc
./proxy/UDPAPITest.h
./proxy/UserNameCacheTest.h
./proxy/ICP.h
./proxy/ProxyClientSession.h
./proxy/ParentConsistentHash.h
./proxy/CacheControl.h
./proxy/InkAPITestTool.cc
./proxy/ControlBase.cc
./proxy/http2/Http2DebugNames.cc
./proxy/http2/Http2ClientSession.cc
./proxy/http2/RegressionHPACK.cc
./proxy/http2/Http2ConnectionState.h
./proxy/http2/test_Huffmancode.cc
./proxy/http2/Http2SessionAccept.h
./proxy/http2/Http2DebugNames.h
./proxy/http2/HuffmanCodec.h
./proxy/http2/Http2ConnectionState.cc
./proxy/http2/HTTP2.cc
./proxy/http2/Http2Stream.h
./proxy/http2/Http2ClientSession.h
./proxy/http2/HPACK.h
./proxy/http2/HTTP2.h
./proxy/http2/HuffmanCodec.cc
./proxy/http2/Http2SessionAccept.cc
./proxy/http2/Http2Stream.cc
./proxy/http2/HPACK.cc
./proxy/Main.cc
./proxy/UDPAPIClientTest.cc
./proxy/Plugin.cc
./proxy/TestClock.cc
./proxy/UDPAPIClientTest.h
./proxy/ICPProcessor.h
./proxy/InkAPITest.cc
./proxy/EventName.cc
./proxy/CompletionUtil.h
./proxy/ReverseProxy.h
./proxy/Prefetch.cc
./proxy/TestPreProc.h
./proxy/StatPages.h
./proxy/CacheControl.cc
./proxy/ICP.cc
./proxy/ControlBase.h
./proxy/hdrs/URL.cc
./proxy/hdrs/MIME.h
./proxy/hdrs/HdrTest.h
./proxy/hdrs/HdrTest.cc
./proxy/hdrs/HTTP.cc
./proxy/hdrs/HttpCompat.cc
./proxy/hdrs/HdrUtils.h
./proxy/hdrs/HdrUtils.cc
./proxy/hdrs/HdrToken.cc
./proxy/hdrs/HdrTSOnly.cc
./proxy/hdrs/HdrHeap.cc
./proxy/hdrs/test_urlhash.cc
./proxy/hdrs/HTTP.h
./proxy/hdrs/load_http_hdr.cc
./proxy/hdrs/URL.h
./proxy/hdrs/MIME.cc
./proxy/hdrs/HdrHeap.h
./proxy/hdrs/HdrToken.h
./proxy/hdrs/test_header.cc
./proxy/hdrs/HttpCompat.h
./proxy/sac.cc
./tools/http_load/timers.c
./tools/http_load/timers.h
./tools/http_load/http_load.c
./tools/http_load/port.h
./tools/lighttpd_mod_generator/mod_generator.c
./tools/jtest/jtest.cc
+ git diff --exit-code
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 55654d6..00c1b2c 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -7793,10 +7793,10 @@ HttpTransact::build_request(State *s, HTTPHdr *base_request, HTTPHdr *outgoing_r
       // don't have a host anywhere.
       outgoing_request->set_url_target_from_host_field();
     } else if (s->current.request_to == PARENT_PROXY && !s->parent_result.rec->parent_is_proxy &&
-           outgoing_request->is_target_in_url()) {
-        // If the parent is an origin server remove the hostname from the url.
-        DebugTxn("http_trans", "[build_request] removing target from URL for a parent origin.");
-        HttpTransactHeaders::remove_host_name_from_url(outgoing_request);
+               outgoing_request->is_target_in_url()) {
+      // If the parent is an origin server remove the hostname from the url.
+      DebugTxn("http_trans", "[build_request] removing target from URL for a parent origin.");
+      HttpTransactHeaders::remove_host_name_from_url(outgoing_request);
     }
   }
 
Build step 'Execute shell' marked build as failure