mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
cfa5d20793
1 changed files with 1 additions and 0 deletions
|
@ -421,6 +421,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
|
|||
end
|
||||
handler.port = handler.clientport -- COMPAT server_event
|
||||
local write = function( self, data )
|
||||
if not handler then return false end
|
||||
bufferlen = bufferlen + #data
|
||||
if bufferlen > maxsendlen then
|
||||
_closelist[ handler ] = "send buffer exceeded" -- cannot close the client at the moment, have to wait to the end of the cycle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue