From: Vsevolod Stakhov Date: Thu, 29 Dec 2016 16:02:12 +0000 (+0000) Subject: [Minor] Special case for partial requests X-Git-Tag: 1.5.0~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a8a2999722ed25eec0384f664ce80726806a7f7;p=thirdparty%2Frspamd.git [Minor] Special case for partial requests --- diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index 322f5e773c..39a94f2c0d 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -487,8 +487,7 @@ lua_tcp_process_read (struct lua_tcp_cbdata *cbd, if (cbd->flags & LUA_TCP_FLAG_PARTIAL) { lua_tcp_push_data (cbd, in, r); /* Plan next event */ - lua_tcp_shift_handler (cbd); - lua_tcp_shift_handler (cbd); + lua_tcp_plan_read (cbd); } else { g_byte_array_append (cbd->in, in, r);