aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 23:33:19 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 23:33:19 +0000
commita2f043a9e792b3d339444a6148c4f236f9570788 (patch)
treea2585d253e79947612d6aa381284a50047d53354
parent3eb66f1618000cd38a6428c060205927d82f61cd (diff)
downloadprosody-a2f043a9e792b3d339444a6148c4f236f9570788.tar.gz
prosody-a2f043a9e792b3d339444a6148c4f236f9570788.zip
net.http: Remove request from conn->request table when conn closed
-rw-r--r--net/httpclient_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpclient_listener.lua b/net/httpclient_listener.lua
index 1948f278..9c4f23f3 100644
--- a/net/httpclient_listener.lua
+++ b/net/httpclient_listener.lua
@@ -25,7 +25,7 @@ function httpclient.disconnect(conn, err)
if request then
request:reader(nil);
end
- --requests[conn] = nil;
+ requests[conn] = nil;
end
function httpclient.register_request(conn, req)