Software /
code /
prosody
Comparison
net/server.lua @ 1039:cc4280f45d0e
net.server: Fix global access/incorrect parameter
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Apr 2009 20:33:24 +0100 |
parent | 1036:b2e19c66ec7f |
child | 1100:05d209ef9661 |
comparison
equal
deleted
inserted
replaced
1038:90f663769b75 | 1039:cc4280f45d0e |
---|---|
793 client:settimeout( 0 ) | 793 client:settimeout( 0 ) |
794 _, err = client:connect( address, port ) | 794 _, err = client:connect( address, port ) |
795 if err then -- try again | 795 if err then -- try again |
796 local handler = wrapclient( client, address, port, listeners ) | 796 local handler = wrapclient( client, address, port, listeners ) |
797 else | 797 else |
798 wrapconnection( server, listeners, client, address, port, "clientport", pattern, sslctx, startssl ) | 798 wrapconnection( nil, listeners, client, address, port, "clientport", pattern, sslctx, startssl ) |
799 end | 799 end |
800 end | 800 end |
801 | 801 |
802 --// EXPERIMENTAL //-- | 802 --// EXPERIMENTAL //-- |
803 | 803 |