]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 28 Aug 2010 03:58:58 +0000 (21:58 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sat, 28 Aug 2010 03:58:58 +0000 (21:58 -0600)
src/HttpHeader.h
src/client_side.cc
src/client_side_reply.cc

index d37ad2920024123378033973f6490770adb3dc27..7bc7fff2096ccc7838b843f633dc05256af8607a 100644 (file)
@@ -287,7 +287,7 @@ inline bool
 HttpHeader::chunked() const
 {
     return has(HDR_TRANSFER_ENCODING) &&
-               hasListMember(HDR_TRANSFER_ENCODING, "chunked", ',');
+           hasListMember(HDR_TRANSFER_ENCODING, "chunked", ',');
 }
 
 #endif /* SQUID_HTTPHEADER_H */
index b3e342bbb6470ffddcde8b2aa47e376077ebbceb..8e20e90cd5f221ede0d4413ac55bd8a6e454342c 100644 (file)
@@ -1322,7 +1322,7 @@ clientSocketRecipient(clientStreamNode * node, ClientHttpRequest * http,
     // After sending Transfer-Encoding: chunked (at least), always send
     // the last-chunk if there was no error, ignoring responseFinishedOrFailed.
     const bool mustSendLastChunk = http->request->flags.chunked_reply &&
-        !http->request->flags.stream_error && !context->startOfOutput();
+                                   !http->request->flags.stream_error && !context->startOfOutput();
     if (responseFinishedOrFailed(rep, receivedData) && !mustSendLastChunk) {
         context->writeComplete(fd, NULL, 0, COMM_OK);
         PROF_stop(clientSocketRecipient);
index 2a69bccf95eb6df2248e2967e0336e1009e01172..9699b27a5acc03efc75953452791e00cd963d96f 100644 (file)
@@ -1378,7 +1378,7 @@ clientReplyContext::buildReplyHeader()
 #endif
 
     const bool maySendChunkedReply = !request->multipartRangeRequest() &&
-        (request->http_ver >= HttpVersion(1, 1));
+                                     (request->http_ver >= HttpVersion(1, 1));
 
     /* Check whether we should send keep-alive */
     if (!Config.onoff.error_pconns && reply->sline.status >= 400 && !request->flags.must_keepalive) {
@@ -1403,8 +1403,8 @@ clientReplyContext::buildReplyHeader()
 
     // Decide if we send chunked reply
     if (maySendChunkedReply &&
-        request->flags.proxy_keepalive &&
-        reply->bodySize(request->method) < 0) {
+            request->flags.proxy_keepalive &&
+            reply->bodySize(request->method) < 0) {
         debugs(88, 3, "clientBuildReplyHeader: chunked reply");
         request->flags.chunked_reply = 1;
         hdr->putStr(HDR_TRANSFER_ENCODING, "chunked");