diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-19 03:31:15 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-19 03:31:15 +0000 |
commit | e9b1ad76538bcbd601d23a750ad2ae828f26ec13 (patch) | |
tree | 96bdd2ac6591be70b3eece031dfe86a9fe8aca0b /net/httpclient_listener.lua | |
parent | d8ecc06ff359005a10a309fb24c469ac0fd7a1c8 (diff) | |
parent | 9c1222b34e89f8401a9749cf59c3e2a9bb07dd57 (diff) | |
download | prosody-e9b1ad76538bcbd601d23a750ad2ae828f26ec13.tar.gz prosody-e9b1ad76538bcbd601d23a750ad2ae828f26ec13.zip |
Merge with 0.7
Diffstat (limited to 'net/httpclient_listener.lua')
-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 6517de44..5bed461d 100644 --- a/net/httpclient_listener.lua +++ b/net/httpclient_listener.lua @@ -30,7 +30,7 @@ end function httpclient.ondisconnect(conn, err) local request = requests[conn]; - if request then + if request and err ~= "closed" then request:reader(nil); end requests[conn] = nil; |