mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
All the people who don't use TLS, this one's for you.
This commit is contained in:
parent
208dde8105
commit
94e7638395
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ wraptcpclient = function( listener, socket, ip, serverport, clientport, mode )
|
||||||
return shutdown( socket, pattern )
|
return shutdown( socket, pattern )
|
||||||
end
|
end
|
||||||
handler.close = function( closed )
|
handler.close = function( closed )
|
||||||
if eol and not fatal_send_error then handler._dispatchdata(); end
|
if eol and not fatal_send_error then handler.dispatchdata(); end
|
||||||
_ = not closed and shutdown( socket )
|
_ = not closed and shutdown( socket )
|
||||||
_ = not closed and close( socket )
|
_ = not closed and close( socket )
|
||||||
writelen = ( eol and removesocket( writelist, socket, writelen ) ) or writelen
|
writelen = ( eol and removesocket( writelist, socket, writelen ) ) or writelen
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue