Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth committed Nov 11, 2024
1 parent 9294fe0 commit b91ae25
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/core/util/http_client/httpcli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ OrphanablePtr<HttpRequest> HttpRequest::Get(
}
std::string name =
absl::StrFormat("HTTP:GET:%s:%s", uri.authority(), uri.path());
const grpc_slice request_text = grpc_httpcli_format_get_request(
request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
const grpc_slice request_text =
grpc_httpcli_format_get_request(request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
return MakeOrphanable<HttpRequest>(
std::move(uri), request_text, response, deadline, channel_args, on_done,
pollent, name.c_str(), std::move(test_only_generate_response),
Expand All @@ -104,9 +104,9 @@ OrphanablePtr<HttpRequest> HttpRequest::Post(
}
std::string name =
absl::StrFormat("HTTP:POST:%s:%s", uri.authority(), uri.path());
const grpc_slice request_text = grpc_httpcli_format_post_request(
request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
const grpc_slice request_text =
grpc_httpcli_format_post_request(request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
return MakeOrphanable<HttpRequest>(
std::move(uri), request_text, response, deadline, channel_args, on_done,
pollent, name.c_str(), std::move(test_only_generate_response),
Expand All @@ -129,9 +129,9 @@ OrphanablePtr<HttpRequest> HttpRequest::Put(
}
std::string name =
absl::StrFormat("HTTP:PUT:%s:%s", uri.authority(), uri.path());
const grpc_slice request_text = grpc_httpcli_format_put_request(
request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
const grpc_slice request_text =
grpc_httpcli_format_put_request(request, uri.authority().c_str(),
uri.EncodedPathAndQueryParams().c_str());
return MakeOrphanable<HttpRequest>(
std::move(uri), request_text, response, deadline, channel_args, on_done,
pollent, name.c_str(), std::move(test_only_generate_response),
Expand Down Expand Up @@ -278,8 +278,8 @@ void HttpRequest::ContinueDoneWriteAfterScheduleOnExecCtx(
}

void HttpRequest::StartWrite() {
GRPC_TRACE_LOG(http1, INFO) << "Sending HTTP1 request: "
<< StringViewFromSlice(request_text_);
GRPC_TRACE_LOG(http1, INFO)
<< "Sending HTTP1 request: " << StringViewFromSlice(request_text_);
CSliceRef(request_text_);
grpc_slice_buffer_add(&outgoing_, request_text_);
Ref().release(); // ref held by pending write
Expand Down

0 comments on commit b91ae25

Please sign in to comment.