-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement more ServicePoint properties (#97537)
* Implement more ServicePoint properties * Implement more properties * Make implementation correct * Change UseNagleAlgorithm default to false * Update src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> * Review feedback * Start implement DnsRoundRobin * remove passing parameter over ctor for static prop * Change DefaultMaximumErrorResponseLength default value to -1 * Update ServicePoint parameter passing, implement Certificate on ServicePoint * Change servicePoint to nullable parameter again and fix bind test * Change static variable test to RemoteExecutor * Fix bind throw test for linux and add async to remote executor * Update src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> * Review feedback * Skip throw bind on Linux * Add disable reuseaddr * Revert "Add disable reuseaddr" This reverts commit 970bbb1. * some changes on tests * Refactor GetResponseStream method to use TruncatedReadStream * Fix tests * Convert static property test to RemoteExecutor * Delete unused NameResolution project from Requests csproj * Revert "Delete unused NameResolution project from Requests csproj" This reverts commit 66f7abd. * Fix socket shutdown * simple changes on test * Change sync call inside RemoteExecutor * Update src/libraries/System.Net.Requests/src/System/Net/HttpWebResponse.cs Co-authored-by: Anton Firszov <antonfir@gmail.com> * Apply suggestions from code review Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> * Review feedback * Change exception handling on remote executor test * Change connection logic * Revert "Change exception handling on remote executor test" This reverts commit 47d7f27. * Add forgotten disposal * Revert "Change connection logic" This reverts commit 7aa734f. * Review feedback * Apply suggestions from code review Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> --------- Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com> Co-authored-by: Anton Firszov <antonfir@gmail.com>
- Loading branch information
1 parent
1bebdb0
commit 4a89242
Showing
7 changed files
with
272 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.