Skip to content

Conversation

@andrueastman
Copy link
Contributor

@andrueastman andrueastman commented Dec 6, 2019

Fixes #67

Changes proposed in this pull request

This PR undos the automatic setting of timeout property in the HttpClient that is passed in the constructor as the HttpClient could already have been used before to therefore cause an exception.

Steps to test the fix

var httpClient = new HttpClient();
// make any request with the client
var graphServiceClient = new GraphServiceClient(httpClient); // no exception should throw!

Expected behavour

No expection should be thrown on the last line of the example.

@andrueastman andrueastman self-assigned this Dec 6, 2019
@MIchaelMainer MIchaelMainer added this to the 1.20.0 milestone Dec 6, 2019
@andrueastman andrueastman merged commit 346cc8d into dev Dec 19, 2019
@andrueastman andrueastman deleted the andrueastman/fix-http-client-setting branch December 19, 2019 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout property on passed in HttpClient is modified

4 participants