Skip to content

Commit

Permalink
memcached text protocol: workaround for cas on libmemcached
Browse files Browse the repository at this point in the history
  • Loading branch information
frsyuki committed Jul 28, 2010
1 parent a6f66fe commit 9985f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gate/memproto/memtext.c
Expand Up @@ -195,7 +195,7 @@ static const unsigned char _memtext_indicies[] = {
20, 21, 1, 22, 1, 23, 1, 24,
25, 26, 1, 27, 1, 28, 1, 29,
1, 30, 1, 31, 1, 32, 1, 1,
1, 1, 1, 33, 1, 1, 1, 35,
1, 1, 32, 33, 1, 1, 1, 35,
34, 36, 37, 1, 38, 1, 39, 40,
1, 41, 1, 42, 1, 43, 44, 1,
45, 46, 1, 47, 48, 1, 49, 1,
Expand Down
2 changes: 1 addition & 1 deletion src/gate/memproto/memtext.rl
Expand Up @@ -268,7 +268,7 @@
'\r\n'
;

cas = cas_command ' ' key
cas = cas_command ' '+ key # workaraound for libmemcached
' ' flags ' ' exptime ' ' bytes
' ' cas_unique
(' ' noreply)?
Expand Down

0 comments on commit 9985f34

Please sign in to comment.