net.httpserver: Don't log that a request has been left open if it is destroyed

remotes/origin/sasl
Matthew Wild 17 years ago
parent eabe7a306e
commit 08a1dbd27f
  1. 2
      net/httpserver.lua

@ -96,7 +96,7 @@ local function call_callback(request, err)
local response = callback(request.method, request.body and t_concat(request.body), request);
if response then
if response == true then
if response == true and not request.destroyed then
-- Keep connection open, we will reply later
log("warn", "Request %s left open, on_destroy is %s", request.id, tostring(request.on_destroy));
else

Loading…
Cancel
Save