diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-16 23:33:19 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-16 23:33:19 +0000 |
commit | a2f043a9e792b3d339444a6148c4f236f9570788 (patch) | |
tree | a2585d253e79947612d6aa381284a50047d53354 /net | |
parent | 3eb66f1618000cd38a6428c060205927d82f61cd (diff) | |
download | prosody-a2f043a9e792b3d339444a6148c4f236f9570788.tar.gz prosody-a2f043a9e792b3d339444a6148c4f236f9570788.zip |
net.http: Remove request from conn->request table when conn closed
Diffstat (limited to 'net')
-rw-r--r-- | net/httpclient_listener.lua | 2 |
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) |