Software /
code /
prosody-modules
Diff
mod_component_client/mod_component_client.lua @ 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 |
parent | 1214:a234ad611633 |
child | 1218:4c4536481be1 |
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