-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync read of request body throws on .netcore 3.0 #2614
Sync read of request body throws on .netcore 3.0 #2614
Conversation
…, to avoid .netcore3 sync IO restrictions.
How can I trigger CI? |
This comment here should trigger the CI build. |
@gabog, when you get time could you look into this? Everything here looks reasonable, but there may be more to do. |
@cleemullins I do not see the CI triggered |
@cleemullins or @gabog any updates? |
@gabog or @garypretty could you review this when you get a moment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - for reference, details of the changes to disable synchronous read / write of body can be found in the Microsoft docs for migrating from .NET Core 2.2 to 3.
Gary has built / tested this, and run a full CI build against the code. This is good to go. |
Serializing http request and response bodies async from memorystream, to avoid .netcore3 sync IO restrictions.
This PR does not address similar issues in Twilio, WebEx and ApplicationInsights projects.
An alternative option would be to use System.Text.Json with superior performance (memory and CPU), but serialization settings would need to be regression tested + it would introduce a new dependency to this package.