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
50f17da8
Commit
50f17da8
authored
Oct 09, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r35360: Enable null method in SubCall of ParallelChannel
parent
5448712c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
parallel_channel.h
src/brpc/parallel_channel.h
+2
-3
No files found.
src/brpc/parallel_channel.h
View file @
50f17da8
...
@@ -27,8 +27,7 @@
...
@@ -27,8 +27,7 @@
namespace
brpc
{
namespace
brpc
{
// Used in implementations of CallMapper::Map.
// Possible values of SubCall.flag, MUST be bitwise exclusive.
// To rpc maintainer: values must be bitwise exclusive.
static
const
int
DELETE_REQUEST
=
1
;
static
const
int
DELETE_REQUEST
=
1
;
static
const
int
DELETE_RESPONSE
=
2
;
static
const
int
DELETE_RESPONSE
=
2
;
static
const
int
SKIP_SUB_CHANNEL
=
4
;
static
const
int
SKIP_SUB_CHANNEL
=
4
;
...
@@ -59,7 +58,7 @@ struct SubCall {
...
@@ -59,7 +58,7 @@ struct SubCall {
// True if this object is constructed by Bad().
// True if this object is constructed by Bad().
bool
is_bad
()
const
{
bool
is_bad
()
const
{
return
request
==
NULL
||
response
==
NULL
||
method
==
NULL
;
return
request
==
NULL
||
response
==
NULL
;
}
}
// True if this object is constructed by Skip().
// True if this object is constructed by Skip().
...
...
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