]> git.sesse.net Git - cubemap/commitdiff
Do not keep pending data across HTTP connections.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 11 Apr 2013 19:36:55 +0000 (21:36 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 11 Apr 2013 19:36:55 +0000 (21:36 +0200)
httpinput.cpp

index 012f5bc0c4f15d2a4da0f425034a7c82a50ff763..46f1358927312ba210cfa2f518e29991595d14ed 100644 (file)
@@ -215,6 +215,7 @@ void HTTPInput::do_work()
                        request.clear();
                        request_bytes_sent = 0;
                        response.clear();
+                       pending_data.clear();
 
                        {
                                string protocol;  // Thrown away.