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
f364cd37
Commit
f364cd37
authored
6 years ago
by
Ge Jun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move index of thrift protocol forward to fix a miss-parsing issue
parent
8e350548
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
options.proto
src/brpc/options.proto
+20
-20
No files found.
src/brpc/options.proto
View file @
f364cd37
...
...
@@ -25,27 +25,27 @@ enum ProtocolType {
PROTOCOL_HULU_PBRPC
=
3
;
PROTOCOL_SOFA_PBRPC
=
4
;
PROTOCOL_RTMP
=
5
;
PROTOCOL_HTTP
=
6
;
PROTOCOL_PUBLIC_PBRPC
=
7
;
PROTOCOL_NOVA_PBRPC
=
8
;
PROTOCOL_NSHEAD_CLIENT
=
9
;
// implemented in baidu-rpc-ub
PROTOCOL_NSHEAD
=
10
;
PROTOCOL_HADOOP_RPC
=
11
;
PROTOCOL_HADOOP_SERVER_RPC
=
12
;
PROTOCOL_MONGO
=
13
;
// server side only
PROTOCOL_UBRPC_COMPACK
=
14
;
PROTOCOL_DIDX_CLIENT
=
15
;
// Client side only
PROTOCOL_REDIS
=
16
;
// Client side only
PROTOCOL_MEMCACHE
=
17
;
// Client side only
PROTOCOL_ITP
=
18
;
PROTOCOL_NSHEAD_MCPACK
=
19
;
PROTOCOL_DISP_IDL
=
20
;
// Client side only
PROTOCOL_ERSDA_CLIENT
=
21
;
// Client side only
PROTOCOL_UBRPC_MCPACK2
=
22
;
// Client side only
PROTOCOL_THRIFT
=
6
;
PROTOCOL_HTTP
=
7
;
PROTOCOL_PUBLIC_PBRPC
=
8
;
PROTOCOL_NOVA_PBRPC
=
9
;
PROTOCOL_NSHEAD_CLIENT
=
10
;
// implemented in baidu-rpc-ub
PROTOCOL_NSHEAD
=
11
;
PROTOCOL_HADOOP_RPC
=
12
;
PROTOCOL_HADOOP_SERVER_RPC
=
13
;
PROTOCOL_MONGO
=
14
;
// server side only
PROTOCOL_UBRPC_COMPACK
=
15
;
PROTOCOL_DIDX_CLIENT
=
16
;
// Client side only
PROTOCOL_REDIS
=
17
;
// Client side only
PROTOCOL_MEMCACHE
=
18
;
// Client side only
PROTOCOL_ITP
=
19
;
PROTOCOL_NSHEAD_MCPACK
=
20
;
PROTOCOL_DISP_IDL
=
21
;
// Client side only
PROTOCOL_ERSDA_CLIENT
=
22
;
// Client side only
PROTOCOL_UBRPC_MCPACK2
=
23
;
// Client side only
// Reserve special protocol for cds-agent, which depends on FIFO right now
PROTOCOL_CDS_AGENT
=
23
;
// Client side only
PROTOCOL_ESP
=
24
;
// Client side only
PROTOCOL_THRIFT
=
25
;
// Server side only
PROTOCOL_CDS_AGENT
=
24
;
// Client side only
PROTOCOL_ESP
=
25
;
// Client side only
}
enum
CompressType
{
...
...
This diff is collapsed.
Click to expand it.
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