moonbridge

diff moonbridge_http.lua @ 28:0a9abf36e07b

Bug in request:finish() method of HTTP module fixed, which caused body-less responses to cause an error
author jbe
date Fri Jan 30 15:16:34 2015 +0100 (2015-01-30)
parents 44a13f4b706f
children 9c0520d36f97
line diff
     1.1 --- a/moonbridge_http.lua	Fri Jan 30 12:09:23 2015 +0100
     1.2 +++ b/moonbridge_http.lua	Fri Jan 30 15:16:34 2015 +0100
     1.3 @@ -414,7 +414,7 @@
     1.4                finish_response()
     1.5              end
     1.6              output_state = "finished"
     1.7 -          elseif output_state ~= finished then
     1.8 +          elseif output_state ~= "finished" then
     1.9              error("Unexpected internal status in HTTP engine")
    1.10            end
    1.11          end,

Impressum / About Us