Skip to content

Commit 9dfe9af

Browse files
Reset the _receiveData variable on HttpClientExecute; otherwise, a second execution on the same HttpClient instance may read the previous content.
1 parent 65c156b commit 9dfe9af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dotnet/src/dotnetframework/GxClasses/Domain/GxHttpClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ internal void ProcessResponse(HttpResponseMessage httpResponse)
792792
}
793793
public void HttpClientExecute(string method, string name)
794794
{
795+
_receiveData = null;
795796
_response = null;
796797
Byte[] Buffer = new Byte[1024];
797798
_errCode = 0;

0 commit comments

Comments
 (0)