Skip to content

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

Merged
merged 2 commits into from
Apr 14, 2020

Conversation

thomaslevesque
Copy link
Member

Summary of the changes (Less than 80 chars)

  • Implement ReadToEndAsync on HttpRequestStreamReader
  • Rename incorrectly named test class

Addresses #13834

The implementation is based on StreamReader.ReadToEndAsync, adapted to work with HttpRequestStreamReader.

@thomaslevesque thomaslevesque changed the title Readtoendasync Implement HttpRequestStreamReader.ReadToEndAsync Jan 9, 2020
@Tratcher
Copy link
Member

Tratcher commented Jan 9, 2020

The reference assemblies need to be updated. https://github.com/dotnet/aspnetcore/blob/master/docs/ReferenceAssemblies.md

@analogrelay analogrelay added this to the 5.0.0-preview1 milestone Jan 9, 2020
@thomaslevesque
Copy link
Member Author

The reference assemblies need to be updated.

@Tratcher done

@jkotalik
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@halter73
Copy link
Member

halter73 commented Feb 7, 2020

I opened dotnet/runtime#31763 to see if we cannot get this + ReadLineAsync() + ReadBlockAsync() implemented without blocking in the TextReader base type.

@jkotalik jkotalik self-assigned this Feb 7, 2020
@analogrelay
Copy link
Contributor

@jkotalik let's just get this in :).

@udlose
Copy link

udlose commented Apr 6, 2020

@anurse any updates on this?

@jkotalik
Copy link
Contributor

@thomaslevesque there were a few merge conflicts with #18802, would you mind fixing those?

@thomaslevesque
Copy link
Member Author

thomaslevesque commented Apr 13, 2020

@jkotalik I rebased my changes onto master and fixed the conflicts

@jkotalik jkotalik merged commit 5d914d4 into dotnet:master Apr 14, 2020
@jkotalik
Copy link
Contributor

Thanks!

@thomaslevesque thomaslevesque deleted the readtoendasync branch June 16, 2020 21:25
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants