aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-03-01 21:03:17 +0000
committerMatthew Wild <mwild1@gmail.com>2010-03-01 21:03:17 +0000
commit651f61921bc5a867fdba3337ae7541fa4feccf7d (patch)
tree267bb4e32e4655ad6bac8cbda16e04ebebc48859 /net/server_select.lua
parent2f5a9cd4ede54690f4fd1633ab201add613a5645 (diff)
parent29e84d0af11fad1c6091340978065b7586193228 (diff)
downloadprosody-651f61921bc5a867fdba3337ae7541fa4feccf7d.tar.gz
prosody-651f61921bc5a867fdba3337ae7541fa4feccf7d.zip
Merge with 0.7
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index ca8b1113..c4a1f19a 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -472,7 +472,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
_sendlistlen = removesocket( _sendlist, socket, _sendlistlen ) -- delete socket from writelist
_ = needtls and handler:starttls(nil, true)
_writetimes[ handler ] = nil
- _ = toclose and handlerclose( )
+ _ = toclose and handler:close( )
return true
elseif byte and ( err == "timeout" or err == "wantwrite" ) then -- want write
buffer = string_sub( buffer, byte + 1, bufferlen ) -- new buffer