diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-04-01 15:02:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-04-01 15:02:36 +0100 |
commit | c6ca0a459d570285de73061a22889a4fa84096b8 (patch) | |
tree | 5922ad0f54f6bacd39cea376012e8ac27eaf58e1 /net/server_select.lua | |
parent | 7f2a6a29b662648c3e5e5bc76e6a79953c870faa (diff) | |
parent | cf7efc33b244b3736e99b4784a4fd62239c403fe (diff) | |
download | prosody-c6ca0a459d570285de73061a22889a4fa84096b8.tar.gz prosody-c6ca0a459d570285de73061a22889a4fa84096b8.zip |
Merge
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 22887265..4bda3ef0 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -397,6 +397,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 |