Software /
code /
prosody
Diff
net/server_select.lua @ 7505:3d950ee0de35
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 14 Jul 2016 13:41:02 +0200 |
parent | 7477:f9e470026042 |
parent | 7501:8c3d93b67560 |
child | 7530:f14094d10925 |
line wrap: on
line diff
--- a/net/server_select.lua Wed Jul 13 18:43:33 2016 +0200 +++ b/net/server_select.lua Thu Jul 14 13:41:02 2016 +0200 @@ -562,7 +562,7 @@ local read, wrote handshake = coroutine_wrap( function( client ) -- create handshake coroutine local err - for i = 1, _maxsslhandshake do + for _ = 1, _maxsslhandshake do _sendlistlen = ( wrote and removesocket( _sendlist, client, _sendlistlen ) ) or _sendlistlen _readlistlen = ( read and removesocket( _readlist, client, _readlistlen ) ) or _readlistlen read, wrote = nil, nil