-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Expose response PipeWriter in Kestrel #7110
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
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9cefd66
Expose response PipeWriter in Kestrel
jkotalik 0e1301b
small cleanup
jkotalik 53af11d
Make tests pass
jkotalik b3c101e
Making WriteAsync use GetMemory
jkotalik 9324538
nit
jkotalik 89284d6
update response writing extensions
jkotalik d75c9e4
Add inner stream/pipe to all adapters
jkotalik 9781e9e
Clarify chunking code
jkotalik eae4448
Implement Complete()
jkotalik 7b0db9e
Use bool for checking chunked status
jkotalik df0412c
Handle wrapping logic for dispose
jkotalik ba59c4c
Make HttpResponseWriteAsync good and react in tests. TODO many many t…
jkotalik 258485e
Pass in memory pool to streampipewriter
jkotalik 1e3c50a
Improve WriteOnlyPipeStream and small nit
jkotalik 0dc4803
Attempted fix for BodyWrapper stream and check nonresponsebody writes…
jkotalik e308e5f
Fix a few tests for Advance scenarios, disable a few response compres…
jkotalik 532c63d
Add tests for response writing with encoding
jkotalik 2b22796
Shim StartAsync
jkotalik 5b213c2
Add some comments
jkotalik 7d9647a
Avoid throwing in writes as much as possible and general cleanup
jkotalik 7d821b4
Trying to figure out what to do with pipeWriter.Complete for Http2.
jkotalik a2796fc
Don't actually write data
jkotalik 8714576
Some feedback
jkotalik c1c0247
Offline feedback
jkotalik 1ee90a8
Renames
jkotalik 177d34d
IsCompletedSuccessfully
jkotalik 1a7b2c2
Feedback
jkotalik 67023fa
Only dispose the stream pipe wrapper and more tests
jkotalik 45f3739
Use kestrel's minimum segment size
jkotalik 4d16db0
Bad rebase
jkotalik db79af5
Feedback
jkotalik 31a6dab
whoops
jkotalik 312f42a
Fix test
jkotalik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.