From f45b0612a732492757d546ee9692a7f0ce49f3e8 Mon Sep 17 00:00:00 2001 From: sgandon Date: Wed, 10 Nov 2021 10:00:23 +0100 Subject: [PATCH] fix(lua): the set method does not respect the dshm protocol --- lua/dshm.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/dshm.lua b/lua/dshm.lua index 5dab8d2..b4bd35c 100644 --- a/lua/dshm.lua +++ b/lua/dshm.lua @@ -234,7 +234,6 @@ function _M.set(self, key, value, exptime) local req = "set " .. self.escape_key(key) .. " " .. exptime .. " " .. strlen(value) .. "\r\n" .. value - .. "\r\n" local bytes, err = sock:send(req) if not bytes then