Skip to content

Commit

Permalink
Update HttpProfile.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature authored Mar 31, 2023
1 parent 4fe8265 commit 07c2efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Payload_Type/apollo/agent_code/HttpProfile/HttpProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public bool SendRecv<T, TResult>(T message, OnResponse<TResult> onResponse)
};
} else {
// Use Default Proxy and Cached Credentials for Internet Access
webClient.Proxy = WebRequest.GetSystemProxy();
webClient.Proxy = WebRequest.GetSystemWebProxy();
webClient.Proxy.Credentials = CredentialCache.DefaultCredentials;
}

Expand Down

0 comments on commit 07c2efa

Please sign in to comment.