Skip to content
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

Implement straightforward ServicePoint(Manager) properties in HttpWebRequest #94664

Merged

Conversation

liveans
Copy link
Member

@liveans liveans commented Nov 13, 2023

I'm going to create an issue with a list of properties that are not implemented.
I'm still working on the AllowWriteStreamBuffering property, I'll create a follow-up PR for this.

Implemented properties from ServicePoint:

  • TcpKeepAlive
  • ReceiveBufferSize
  • ContinueTimeout
  • Expect100Continue

@liveans liveans requested a review from a team November 13, 2023 13:20
@ghost ghost assigned liveans Nov 13, 2023
@ghost
Copy link

ghost commented Nov 13, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

I'm going to create an issue with a list of properties that are not implemented.
I'm still working on the AllowWriteStreamBuffering property, I'll create a follow-up PR for this.

Implemented properties from ServicePoint:

  • TcpKeepAlive
  • UseNagleAlgorithm
  • ReceiveBufferSize

Implemented properties from ServicePointManager:

  • ReusePort
Author: liveans
Assignees: -
Labels:

area-System.Net

Milestone: -

@liveans
Copy link
Member Author

liveans commented Nov 13, 2023

/azp list

Copy link

CI/CD Pipelines for this repository:

@liveans
Copy link
Member Author

liveans commented Nov 13, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume it's impossible to implement functional tests for this. How do you test/validate the changes?

@liveans
Copy link
Member Author

liveans commented Nov 14, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liveans
Copy link
Member Author

liveans commented Nov 14, 2023

I assume it's impossible to implement functional tests for this. How do you test/validate the changes?

I'm testing these options manually, but I'll try to write some tests for this.

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally looks good to me.
We should perhaps add at least some get/set tests so we exercise the new code path.

@ManickaP
Copy link
Member

What issue(s) does this fixes/contributes to? Could you put them to the description.

Copy link
Member

@ManickaP ManickaP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for the tests as well, some coverage would be nice.

@liveans
Copy link
Member Author

liveans commented Nov 20, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liveans
Copy link
Member Author

liveans commented Dec 4, 2023

/azp run runtime

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liveans
Copy link
Member Author

liveans commented Dec 4, 2023

@dotnet/ncl This is ready for final review, I've tested implemented features through Wireshark, and it's working.

@liveans
Copy link
Member Author

liveans commented Dec 4, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Product code LGTM, a few suggestions for the tests.

@liveans
Copy link
Member Author

liveans commented Dec 4, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % comments.
Good improvement.

@liveans
Copy link
Member Author

liveans commented Dec 8, 2023

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liveans
Copy link
Member Author

liveans commented Dec 10, 2023

Outerloop failures unrelated

@liveans liveans merged commit f0a6dbd into dotnet:main Dec 10, 2023
111 of 119 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2024
@liveans liveans deleted the httpwebrequest-straightforward-missing-parts-impl branch January 15, 2024 10:59
@karelz karelz added this to the 9.0.0 milestone May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants