-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Implement HttpWebRequest AllowWriteStreamBuffering property #95001
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
liveans
merged 58 commits into
dotnet:main
from
liveans:http-write-stream-buffering-impl
Mar 5, 2024
Merged
Changes from 49 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
cf19c74
Implement HttpWebRequest WriteStreamBuffering
liveans 6167c96
Fix tests
liveans f1e9a29
Fix tests
liveans 5015280
Review feedback
liveans b7c62d1
Fix timeouts
liveans 9ae4383
fix test build
liveans 3114962
Hang test
liveans 266b610
Merge branch 'main' of github.com:dotnet/runtime into http-write-stre…
liveans 8e20ffa
Fix build
liveans 98152a2
fix tests
liveans ff5e2bd
delete unnecessary line
liveans 32832f7
fix tests
liveans 69f3da7
refactor test
liveans dd0b860
Dispose http client
liveans 31ef8a6
Fix buffer write in RequestStream.Flush() method
liveans c5efd40
Fix same length bug in FlushAsync
liveans 9fb2978
Update ContentLength in HttpWebRequestTest.cs
liveans ea38e0e
Fix flushing and ending request stream
liveans a5511ea
Merge branch 'main' into http-write-stream-buffering-impl
liveans 03455dc
Fix flushing and ending request stream
liveans 2318eb5
Fix FlushAsync method to handle cancellation
liveans ce2f240
Merge branch 'main' into http-write-stream-buffering-impl
liveans 251f6dd
Merge branch 'main' into http-write-stream-buffering-impl
liveans 01e7cca
Update src/libraries/System.Net.Requests/src/System/Net/HttpClientCon…
liveans f6c3ad0
Review feedback
liveans cc8c351
Bound streamBuffer lifecycle to HttpClientContentStream
liveans a2b2b84
Merge branch 'main' into http-write-stream-buffering-impl
liveans 7836a8f
Review feedback
liveans 62067e7
Review feedback
liveans 964d4c6
Change ??= to =
liveans cc28b79
change delay on test
liveans 607991c
Merge branch 'main' into http-write-stream-buffering-impl
liveans 7d4de22
Apply suggestions from code review
liveans 864fbb7
Fix build
liveans 3b0287a
Review feedback
liveans 149a843
Apply suggestions from code review
liveans 37f990b
Review feedback
liveans eb494f3
Apply suggestions from code review
liveans 55b5016
Add ProtocolViolationException if we're not buffering and we didn't s…
liveans a93a60c
Merge branch 'http-write-stream-buffering-impl' of github.com:liveans…
liveans 957ee2c
Review feedback
liveans 6650652
Add test for not buffering and sending the content before we call `Ge…
liveans 454752c
Update src/libraries/System.Net.Requests/src/System/Net/HttpWebReques…
liveans 928eaa2
Remove exception
liveans 4f76467
Merge branch 'http-write-stream-buffering-impl' of github.com:liveans…
liveans 8ebaa78
Review feedback
liveans de7f101
Fix string resources
liveans 6f2ba90
Add RequestStreamContent class for handling request stream serialization
liveans dd1bdde
Seperate Buffering and Non-Buffering Streams and Connect non-bufferin…
liveans c60f443
Remove unnecessary code in HttpWebRequestTest
liveans a699449
Merge branch 'main' into http-write-stream-buffering-impl
liveans dcac125
Use random data for testing
liveans c01da77
Update src/libraries/System.Net.Requests/src/System/Net/RequestBuffer…
liveans 1b51e50
Merge branch 'main' into http-write-stream-buffering-impl
liveans 38656d5
Remove default flushes and add flush on test
liveans 796f1e9
Merge branch 'main' into http-write-stream-buffering-impl
liveans da86238
Review feedback
liveans 804b80c
Removing unused code
liveans 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
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.