Comparison

net/http/server.lua @ 6382:57d23c26039b

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Tue, 02 Sep 2014 22:33:11 +0200
parent 6367:769a3577dd85
parent 6380:4220ffb87b22
child 6529:a2dadaa9137f
comparison
equal deleted inserted replaced
6377:50e5aed4eeea 6382:57d23c26039b
140 open_response:on_destroy(); 140 open_response:on_destroy();
141 end 141 end
142 sessions[conn] = nil; 142 sessions[conn] = nil;
143 end 143 end
144 144
145 function listener.ondetach(conn)
146 sessions[conn] = nil;
147 end
148
145 function listener.onincoming(conn, data) 149 function listener.onincoming(conn, data)
146 sessions[conn]:feed(data); 150 sessions[conn]:feed(data);
147 end 151 end
148 152
149 local headerfix = setmetatable({}, { 153 local headerfix = setmetatable({}, {