Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

body_length includes entire body

  • Loading branch information...
commit 540a92cd54dae522bca2ae363be25644d64524fa 1 parent f84f71b
Aman Gupta authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dalli/client.rb
2  lib/dalli/client.rb
View
@@ -131,7 +131,7 @@ def get_multi(*keys)
servers_in_use.delete(server)
break
- elsif buf.bytesize >= (24 + 4 + body_length)
+ elsif buf.bytesize >= (24 + body_length)
buf.slice!(0, 24)
flags = buf.slice!(0, 4).unpack('N')[0]
key = buf.slice!(0, key_length)
Please sign in to comment.
Something went wrong with that request. Please try again.