Software /
code /
prosody
Changeset
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 |
parents | 373:dd0345edeaf4 |
children | 375:a6a4ea3633b0 |
files | net/server.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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