# HG changeset patch # User jbe # Date 1427154673 -3600 # Node ID fd0fe0adb2035d7970b73df169e98cc8cfcba3cf # Parent 16af76ba40a843b46fcdd37d967b8069ed7d6772 Do not discard duplicate "Connection: close" header (because other connection options might be set) diff -r 16af76ba40a8 -r fd0fe0adb203 moonbridge_http.lua --- a/moonbridge_http.lua Mon Mar 23 22:16:06 2015 +0100 +++ b/moonbridge_http.lua Tue Mar 24 00:51:13 2015 +0100 @@ -437,12 +437,8 @@ if output_state == "info_status_sent" then error("Cannot set \"Connection: close\" for informational status response") end - if connection_close_responded then - return - else - connection_close_responded = true - break - end + connection_close_responded = true + break end end end