# HG changeset patch # User Matthew Wild # Date 1315079045 14400 # Node ID 5e1f4af116266d7832d46797fb29316b7053c1d0 # Parent 705a8f14427b363c4cda1399548090f7ba674bb5 net.httpclient_listener: util.httpstream now always expects to be called with nil data, so call even when the socket closed cleanly diff -r 705a8f14427b -r 5e1f4af11626 net/httpclient_listener.lua --- a/net/httpclient_listener.lua Sat Sep 03 02:42:50 2011 +0500 +++ b/net/httpclient_listener.lua Sat Sep 03 15:44:05 2011 -0400 @@ -52,7 +52,7 @@ function httpclient.ondisconnect(conn, err) local request = requests[conn]; - if request and err ~= "closed" then + if request and request.conn then request:reader(nil); end requests[conn] = nil;