From: Steinar H. Gunderson Date: Sat, 13 Apr 2013 20:53:02 +0000 (+0200) Subject: When HTTPInput disconnects, also clear the header. X-Git-Tag: 1.0.0~119 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=f2a5ca1fe4798ebd87d16550198118e2172243f4;ds=sidebyside When HTTPInput disconnects, also clear the header. --- diff --git a/httpinput.cpp b/httpinput.cpp index 875ee62..1e607d4 100644 --- a/httpinput.cpp +++ b/httpinput.cpp @@ -233,6 +233,7 @@ void HTTPInput::do_work() request_bytes_sent = 0; response.clear(); pending_data.clear(); + servers->set_header(stream_id, ""); { string protocol; // Thrown away.