Permalink
Browse files

disable sending 'getkq' directly (internally used by mget)

  • Loading branch information...
1 parent 6b9e980 commit 31482396043d3bee624c2999294b6df1b0712bc5 @echou committed Dec 6, 2009
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/mcache/src/mcache_client.erl
View
3 lib/mcache/src/mcache_client.erl
@@ -265,9 +265,6 @@ send_req(Sock, Seq, flush) ->
send_req(Sock, Seq, {getk, Key}) ->
do_send_req(Sock, Seq, #req{opcode=getk, key=Key});
-send_req(Sock, Seq, {getkq, Key}) ->
- do_send_req(Sock, Seq, #req{opcode=getk, key=Key});
-
send_req(Sock, Seq, {Op, Key, Value, Flags, Expiry}) when Op=:=set;Op=:=add;Op=:=replace ->
do_send_req(Sock, Seq, #req{opcode=Op, key=Key, body=Value, extra= <<Flags:32, Expiry:32>>});

0 comments on commit 3148239

Please sign in to comment.