Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
6934a7d6
Unverified
Commit
6934a7d6
authored
Jan 21, 2020
by
Ge Jun
Committed by
GitHub
Jan 21, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1036 from zyearn/fix_grpc_ut
fix grpc ut
parents
9f510165
98a46b6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
http_rpc_protocol.cpp
src/brpc/policy/http_rpc_protocol.cpp
+1
-1
No files found.
src/brpc/policy/http_rpc_protocol.cpp
View file @
6934a7d6
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment