Skip to content
Commit 4b1a074c authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: dispatcher.uc: only flush HTTP headers after rendering output

Ensure to first completely render the action function before flushing HTTP
headers since the invoked action logic might modify the HTTP headers itself.

Fixes: e7afd0d3 ("luci-base: fix luci.http.close()")
Ref: https://github.com/openwrt/luci/commit/e7afd0d3

#commitcomment-88736854
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 86523709
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment