mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +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 )
|
||||
end
|
||||
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 close( socket )
|
||||
writelen = ( eol and removesocket( writelist, socket, writelen ) ) or writelen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue