aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-04-02 17:42:22 +0100
committerMatthew Wild <mwild1@gmail.com>2014-04-02 17:42:22 +0100
commit97bac9bd826969c524c81709b7ded19fc058323d (patch)
tree861eaefae2bd906eace48b17e5f6172dca6c8f5c /net/server_select.lua
parenta479cb0e199235e6ba72de332f3994551cfa2cbb (diff)
parentda820882348572de470a13a1a50f529a51243aa5 (diff)
downloadprosody-97bac9bd826969c524c81709b7ded19fc058323d.tar.gz
prosody-97bac9bd826969c524c81709b7ded19fc058323d.zip
Merge 0.10->trunk
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index b69b5fc7..4a36617c 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -402,6 +402,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
handler.clientport = function( )
return clientport
end
+ handler.port = handler.clientport -- COMPAT server_event
local write = function( self, data )
bufferlen = bufferlen + #data
if bufferlen > maxsendlen then