Commit 98a46b6b authored by zhujiashun's avatar zhujiashun

fix grpc ut

parent 9f510165
......@@ -583,7 +583,7 @@ void SerializeHttpRequest(butil::IOBuf* /*not used*/,
hreq.SetHeader(common->TE, common->TRAILERS);
if (cntl->timeout_ms() >= 0) {
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
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