From 5936d3616ccfb0ec49005a19a4c38a758889f6b9 Mon Sep 17 00:00:00 2001 From: BITMAN Date: Fri, 7 Aug 2015 13:51:10 +0800 Subject: [PATCH] Packing multipart req number first byte is 1 --- lualib-src/lua-cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib-src/lua-cluster.c b/lualib-src/lua-cluster.c index c558fb0f..40cc453e 100644 --- a/lualib-src/lua-cluster.c +++ b/lualib-src/lua-cluster.c @@ -88,7 +88,7 @@ packreq_number(lua_State *L, int session, void * msg, uint32_t sz) { } else { int part = (sz - 1) / MULTI_PART + 1; fill_header(L, buf, 13, msg); - buf[2] = 0x80; + buf[2] = 1; fill_uint32(buf+3, addr); fill_uint32(buf+7, (uint32_t)session); fill_uint32(buf+11, sz);