diff options
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_tcp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index b3276b709..322f5e773 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -461,6 +461,12 @@ lua_tcp_process_read_handler (struct lua_tcp_cbdata *cbd, } } } + else { + lua_tcp_push_data (cbd, cbd->in->data, cbd->in->len); + lua_tcp_shift_handler (cbd); + + return TRUE; + } return FALSE; } |