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
afbee1f0
Commit
afbee1f0
authored
Nov 15, 2017
by
wuchengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support couchbase autentication in memcache client
parent
c1a267bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
memcache.h
src/brpc/memcache.h
+6
-0
No files found.
src/brpc/memcache.h
View file @
afbee1f0
...
...
@@ -230,6 +230,12 @@ public:
static
const
char
*
status_str
(
Status
);
// Although the implementation of this function looks somewhat weird,
// we did not find a better way to provide auth failure check for user codes.
bool
IsAuthFailure
()
const
{
return
(
_err
==
"Auth failure"
);
}
private
:
bool
PopCounter
(
uint8_t
command
,
uint64_t
*
new_value
,
uint64_t
*
cas_value
);
bool
PopStore
(
uint8_t
command
,
uint64_t
*
cas_value
);
...
...
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