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
c622e64a
Commit
c622e64a
authored
May 31, 2018
by
zhujiashun
Committed by
gejun
Sep 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some comments
parent
c5c671fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
http2_rpc_protocol.cpp
src/brpc/policy/http2_rpc_protocol.cpp
+1
-0
http_rpc_protocol.cpp
src/brpc/policy/http_rpc_protocol.cpp
+0
-2
No files found.
src/brpc/policy/http2_rpc_protocol.cpp
View file @
c622e64a
...
...
@@ -1563,6 +1563,7 @@ void H2GlobalStreamCreator::ReplaceSocketForStream(
void
H2GlobalStreamCreator
::
OnStreamCreationDone
(
SocketUniquePtr
&
sending_sock
,
Controller
*
cntl
)
{
// TODO(zhujiashun): when server can not be connected, this can happen.
CHECK
(
false
)
<<
"Never run"
;
}
...
...
src/brpc/policy/http_rpc_protocol.cpp
View file @
c622e64a
...
...
@@ -468,8 +468,6 @@ void SerializeHttpRequest(butil::IOBuf* /*not used*/,
if
(
accessor
.
request_protocol
()
==
PROTOCOL_HTTP2
)
{
cntl
->
set_stream_creator
(
get_h2_global_stream_creator
());
}
else
{
LOG
(
INFO
)
<<
"in SerializeHttpRequest, is_http2=0"
;
}
// Set url to /ServiceName/MethodName when we're about to call protobuf
...
...
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