Software /
code /
prosody
Diff
net/http.lua @ 6383:ec8878113907
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 Sep 2014 22:34:32 +0200 |
parent | 5964:ad04170d6533 |
parent | 6382:57d23c26039b |
child | 6502:8fed6ea12098 |
line wrap: on
line diff
--- a/net/http.lua Sun Aug 31 20:33:47 2014 +0200 +++ b/net/http.lua Tue Sep 02 22:34:32 2014 +0200 @@ -71,6 +71,10 @@ requests[conn] = nil; end +function listener.ondetach(conn) + requests[conn] = nil; +end + local function request_reader(request, data, err) if not request.parser then local function error_cb(reason)