Software /
code /
prosody
Diff
net/server.lua @ 1806:c55e06eb53b2
Merge with 0.5
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 21 Sep 2009 14:42:29 +0100 |
parent | 1788:45779d67c26c |
parent | 1804:f0f5ff6f82d6 |
child | 1865:388b125b784a |
line wrap: on
line diff
--- a/net/server.lua Sun Sep 20 21:30:20 2009 +0100 +++ b/net/server.lua Mon Sep 21 14:42:29 2009 +0100 @@ -363,6 +363,7 @@ send( socket, table_concat( bufferqueue, "", 1, bufferqueuelen ), 1, bufferlen ) -- forced send end end + if not handler then return true; end _ = shutdown and shutdown( socket ) socket:close( ) _sendlistlen = removesocket( _sendlist, socket, _sendlistlen )