When HTTPInput disconnects, also clear the header.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 20:53:02 +0000 (22:53 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 20:53:02 +0000 (22:53 +0200)
httpinput.cpp

index 875ee62..1e607d4 100644 (file)
@@ -233,6 +233,7 @@ void HTTPInput::do_work()
                        request_bytes_sent = 0;
                        response.clear();
                        pending_data.clear();
                        request_bytes_sent = 0;
                        response.clear();
                        pending_data.clear();
+                       servers->set_header(stream_id, "");
 
                        {
                                string protocol;  // Thrown away.
 
                        {
                                string protocol;  // Thrown away.