summaryrefslogtreecommitdiff
path: root/src/modules/tcp_listen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/tcp_listen.lua')
-rw-r--r--src/modules/tcp_listen.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/tcp_listen.lua b/src/modules/tcp_listen.lua
index aabb5be..e423718 100644
--- a/src/modules/tcp_listen.lua
+++ b/src/modules/tcp_listen.lua
@@ -110,7 +110,9 @@ function tcp_listen:new(config, runtype)
client.module_instance = inst
client.addr = addr
client.name = inst.name .. "#" .. tcp.endtostring(addr)
- function client:process_response(response) end
+ function client:process_response(response)
+ client_handle.out_buffer = client_handle.out_buffer .. response
+ end
function client:process_timeout() end
function client:get_read_handles()
return { client_handle }