aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c
index 63c9f8a07..7be257b51 100644
--- a/src/lua/lua_tcp.c
+++ b/src/lua/lua_tcp.c
@@ -758,6 +758,7 @@ lua_tcp_request (lua_State *L)
cbd->stop_pattern = stop_pattern;
cbd->connect_cb = conn_cbref;
cbd->in = g_byte_array_new ();
+ cbd->do_read = do_read;
rspamd_mempool_add_destructor (cbd->pool,
(rspamd_mempool_destruct_t)g_byte_array_unref,
cbd->in);