moonbridge
changeset 189:61f515c1acaa
Avoid resuming dead coroutine in HTTP module (set consume = nil)
author | jbe |
---|---|
date | Fri Jun 19 19:23:34 2015 +0200 (2015-06-19) |
parents | 4f081664a1db |
children | a6a704ca86ee |
files | moonbridge_http.lua |
line diff
1.1 --- a/moonbridge_http.lua Fri Jun 19 19:21:24 2015 +0200 1.2 +++ b/moonbridge_http.lua Fri Jun 19 19:23:34 2015 +0200 1.3 @@ -537,6 +537,7 @@ 1.4 elseif request_body_content_length then 1.5 read_body_bytes(request_body_content_length) 1.6 end 1.7 + consume = nil -- avoid further resumes 1.8 end 1.9 -- function to setup default request body handling: 1.10 local function default_request_body_handling()