Unverified Commit 6934a7d6 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #1036 from zyearn/fix_grpc_ut

fix grpc ut
parents 9f510165 98a46b6b
...@@ -583,7 +583,7 @@ void SerializeHttpRequest(butil::IOBuf* /*not used*/, ...@@ -583,7 +583,7 @@ void SerializeHttpRequest(butil::IOBuf* /*not used*/,
hreq.SetHeader(common->TE, common->TRAILERS); hreq.SetHeader(common->TE, common->TRAILERS);
if (cntl->timeout_ms() >= 0) { if (cntl->timeout_ms() >= 0) {
hreq.SetHeader(common->GRPC_TIMEOUT, hreq.SetHeader(common->GRPC_TIMEOUT,
butil::string_printf("%" PRId64, cntl->timeout_ms())); butil::string_printf("%" PRId64 "m", cntl->timeout_ms()));
} }
// Append compressed and length before body // Append compressed and length before body
AddGrpcPrefix(&cntl->request_attachment(), grpc_compressed); AddGrpcPrefix(&cntl->request_attachment(), grpc_compressed);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment