diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-29 16:02:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-29 18:58:16 +0000 |
commit | 2a8a2999722ed25eec0384f664ce80726806a7f7 (patch) | |
tree | aa7e9830de6e5e8c748eb1bf39371404c6e97bd6 /src/lua/lua_tcp.c | |
parent | 223475efa083a9009ef1f2815c57809a75e1b190 (diff) | |
download | rspamd-2a8a2999722ed25eec0384f664ce80726806a7f7.tar.gz rspamd-2a8a2999722ed25eec0384f664ce80726806a7f7.zip |
[Minor] Special case for partial requests
Diffstat (limited to 'src/lua/lua_tcp.c')
-rw-r--r-- | src/lua/lua_tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index 322f5e773..39a94f2c0 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); |