Software /
code /
prosody
Diff
net/server.lua @ 374:ff502dada372
All the people who don't use TLS, this one's for you.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 22 Nov 2008 20:12:27 +0000 |
parent | 335:906311ff2170 |
child | 519:cccd610a0ef9 |
line wrap: on
line diff
--- a/net/server.lua Sat Nov 22 19:07:41 2008 +0000 +++ b/net/server.lua Sat Nov 22 20:12:27 2008 +0000 @@ -619,7 +619,7 @@ 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