From ac00befdcb5b4ba92eab55f00f89dabeadbf4c8f Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 29 May 2012 11:10:05 +0000 Subject: [PATCH] *Core: HTTP request clears 'body' at start of new request git-svn-id: svn://ultimatepp.org/upp/trunk@5018 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Http.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/Core/Http.cpp b/uppsrc/Core/Http.cpp index c263fa84b..adbe25130 100644 --- a/uppsrc/Core/Http.cpp +++ b/uppsrc/Core/Http.cpp @@ -8,7 +8,7 @@ bool HttpRequest_Trace__; #ifdef _DEBUG _DBG_ -// #define ENDZIP +// #define ENDZIP // only activate if zip pipe is in the question #endif void HttpRequest::Trace(bool b) @@ -356,6 +356,7 @@ void HttpRequest::Start() header.Clear(); status_code = 0; reason_phrase.Clear(); + body.Clear(); WhenStart(); bool use_proxy = !IsNull(ssl ? ssl_proxy_host : proxy_host);