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

Added operation cancel operation #46330

Merged
merged 29 commits into from
Feb 16, 2023
Merged

Conversation

singh733
Copy link
Contributor

@ghost ghost added area-runtime community-contribution Indicates that the PR has been added by a community member labels Jan 30, 2023
@ghost
Copy link

ghost commented Jan 30, 2023

Thanks for your PR, @singh733. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

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

We'd want a similar check in each server (Kestrel, HttpSys, IIS):

@singh733
Copy link
Contributor Author

singh733 commented Feb 1, 2023

We'd want a similar check in each server (Kestrel, HttpSys, IIS):

@Tratcher I have done the changes for the Kestrel server. I am not able to find HttpProtocol file in IIS and Httpsys. Would you please let me know in which file I need to do change in IIS and Httpsys.

Copy link
Member

@mgravell mgravell left a comment

Choose a reason for hiding this comment

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

is it possible to test this scenario? I can't see any tests currently

@Tratcher
Copy link
Member

Tratcher commented Feb 1, 2023

We'd want a similar check in each server (Kestrel, HttpSys, IIS):

@Tratcher Chris Ross FTE I have done the changes for the Kestrel server. I am not able to find HttpProtocol file in IIS and Httpsys. Would you please let me know in which file I need to do change in IIS and Httpsys.

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

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

Don't forget to update HttpSys as well

@singh733
Copy link
Contributor Author

singh733 commented Feb 8, 2023

@Tratcher I have resolved comments. Please let me know if any code change required. Tomorrow I will jump on unit tests

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

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

So far so good.

src/Servers/IIS/IIS/src/Core/IISHttpContextOfT.cs Outdated Show resolved Hide resolved
src/Servers/Kestrel/Core/src/Internal/Http/HttpProtocol.cs Outdated Show resolved Hide resolved
Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

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

Ready for tests

src/Http/Http.Results/test/ResultsTests.cs Outdated Show resolved Hide resolved
src/Servers/IIS/IIS/src/Core/IISHttpContextOfT.cs Outdated Show resolved Hide resolved
src/Servers/IIS/IIS/src/Core/IISHttpContextOfT.cs Outdated Show resolved Hide resolved
src/Http/Http.Results/test/ResultsTests.cs Outdated Show resolved Hide resolved
Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

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

Thanks, I know that was more involved than you expected.

@Tratcher Tratcher enabled auto-merge (squash) February 16, 2023 16:54
@Tratcher Tratcher added this to the 8.0-preview2 milestone Feb 16, 2023
@Tratcher Tratcher merged commit 9068fcf into dotnet:main Feb 16, 2023
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Framework does not handle Request cancellation properly
10 participants