diff --git a/nselib/redis.lua b/nselib/redis.lua index 508124935..3c588185a 100644 --- a/nselib/redis.lua +++ b/nselib/redis.lua @@ -82,6 +82,8 @@ Response = { if( not(status) ) then return false, "Failed to receive data from server" end + -- move past the terminal CRLF + local status, crlf = self.socket:receive_buf("\r\n", false) return true, { data = data, type = Response.Type.BULK } end