Changeset

6048:e447601cf13c

Merge
author Matthew Wild <mwild1@gmail.com>
date Tue, 01 Apr 2014 15:02:36 +0100
parents 6044:1ce05d38d1bb (current diff) 6047:4db0403bfc0d (diff)
children 6050:5d73412aa1ba
files
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Sun Mar 30 09:16:27 2014 +0100
+++ b/net/server_event.lua	Tue Apr 01 15:02:36 2014 +0100
@@ -367,6 +367,7 @@
 	function interface_mt:ssl()
 		return self._usingssl
 	end
+	interface_mt.clientport = interface_mt.port -- COMPAT server_select
 
 	function interface_mt:type()
 		return self._type or "client"
--- a/net/server_select.lua	Sun Mar 30 09:16:27 2014 +0100
+++ b/net/server_select.lua	Tue Apr 01 15:02:36 2014 +0100
@@ -397,6 +397,7 @@
 	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