2
0
Эх сурвалжийг харах

* Fixed bug where multiple methods were run one after the other

git-svn-id: trunk@17763 -
michael 14 жил өмнө
parent
commit
b8f18854ca

+ 1 - 0
packages/fcl-web/src/base/fphttpclient.pp

@@ -570,6 +570,7 @@ Var
   ResponseOK : Boolean;
 
 begin
+  SetLength(FBuffer,0);
   FResponseStatusCode:=ReadResponseHeaders;
   if not CheckResponseCode(FResponseStatusCode,AllowedResponseCodes) then
     Raise EHTTPClient.CreateFmt(SErrUnexpectedResponse,[ResponseStatusCode]);