Skip to content

Commit d10bfa0

Browse files
Revert "HttpClient timeout was not working well in .NET Framework"
This reverts commit 03fc685.
1 parent 03fc685 commit d10bfa0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,6 @@ HttpResponseMessage ExecuteRequest(string method, string requestUrl, CookieConta
652652
if (proxy != null)
653653
handler.Proxy = proxy;
654654
HttpResponseMessage response;
655-
656-
#if !NETCORE
657-
handler.ReceiveDataTimeout = TimeSpan.FromMilliseconds(_timeout);
658-
handler.ReceiveHeadersTimeout = TimeSpan.FromMilliseconds(_timeout);
659-
#endif
660655
using (client = new HttpClient(handler))
661656
{
662657
client.Timeout = TimeSpan.FromMilliseconds(_timeout);

0 commit comments

Comments
 (0)