Software /
code /
prosody-modules
Changeset
1216:81a3bf8aba90
mod_component_client: Use the net.server connection abstraction for sending whitespace keep-alive, and not the raw socket (fixes a traceback which lead to an infinite timer loop in libevent)
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 28 Oct 2013 11:55:59 -0400 |
parents | 1215:1b55d8f86644 |
children | 1217:b3e2ed890b93 |
files | mod_component_client/mod_component_client.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_component_client/mod_component_client.lua Mon Oct 28 11:10:02 2013 +0100 +++ b/mod_component_client/mod_component_client.lua Mon Oct 28 11:55:59 2013 -0400 @@ -240,7 +240,7 @@ end local handler , conn = server.wrapclient ( conn , server_host , server_port , listener , "*l") - __conn = conn; + __conn = handler; ------------------------ return true; end