-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Implement HttpRequestStreamReader.ReadToEndAsync #18232
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
Conversation
089f44b
to
439eaec
Compare
The reference assemblies need to be updated. https://github.com/dotnet/aspnetcore/blob/master/docs/ReferenceAssemblies.md |
@Tratcher done |
8f49e3f
to
f295ee2
Compare
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
I opened dotnet/runtime#31763 to see if we cannot get this + ReadLineAsync() + ReadBlockAsync() implemented without blocking in the TextReader base type. |
@jkotalik let's just get this in :). |
@anurse any updates on this? |
@thomaslevesque there were a few merge conflicts with #18802, would you mind fixing those? |
f295ee2
to
7f7b40c
Compare
@jkotalik I rebased my changes onto master and fixed the conflicts |
Thanks! |
Summary of the changes (Less than 80 chars)
ReadToEndAsync
onHttpRequestStreamReader
Addresses #13834
The implementation is based on
StreamReader.ReadToEndAsync
, adapted to work withHttpRequestStreamReader
.