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

Wait to dispose CTS for IIS #9389

Merged
merged 14 commits into from
Apr 17, 2019
Merged

Wait to dispose CTS for IIS #9389

merged 14 commits into from
Apr 17, 2019

Conversation

jkotalik
Copy link
Contributor

@jkotalik jkotalik commented Apr 15, 2019

Fixes #4422
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1831

Still have a few tests I need to write. Will mark ready for review when appropriate.

@halter73 I lightly explored making a helper for safe disposal/cancellation, and it didn't look great. I'm going to keep them separate for now.

@jkotalik
Copy link
Contributor Author

This will also address some gaps we had between Kestrel and IIS, specifically not cancelling the cts after writing the entire content and checking content length.

@jkotalik jkotalik marked this pull request as ready for review April 15, 2019 20:54
@halter73
Copy link
Member

File an issue for creating a LazyResettableCts type so we can backlog it 😉

@jkotalik
Copy link
Contributor Author

#9419

@jkotalik
Copy link
Contributor Author

Debugging the inproc failure with NTLM tests. Seems like there was a failed request.

@jkotalik
Copy link
Contributor Author

Figured it out, bad check for requestAborted.

@jkotalik
Copy link
Contributor Author

@javiercn
YARN : error [ERR_STREAM_WRITE_AFTER_END]: write after end [F:\workspace\_work\1\s\src\SignalR\clients\ts\FunctionalTests\SignalR.Npm.FunctionalTests.npmproj]

https://dev.azure.com/dnceng/public/_build/results?buildId=157804

@javiercn
Copy link
Member

Never seen that one before.

@jkotalik jkotalik merged commit 102dd03 into master Apr 17, 2019
@jkotalik jkotalik deleted the jkotalik/odeIIS branch April 17, 2019 00:09
@analogrelay
Copy link
Contributor

That's in SignalR (cc @mikaelm12)

Doesn't seem like something we can control...

@amcasey amcasey added 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-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.NET Runtime Exception: ObjectDisposedException
7 participants