aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/httpserver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 0ed67909..ddb4475c 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -230,7 +230,7 @@ function destroy_request(request)
end
request.handler.close()
if request.conn then
- listener.disconnect(request.conn, "closed");
+ listener.disconnect(request.handler, "closed");
end
end
end