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

Work around potential race in PipeWriter (IIS Edition) #11165

Merged
merged 2 commits into from
Jun 21, 2019

Conversation

halter73
Copy link
Member

We should wait until #11065 (the Kestrel version of this) is merged and stable. If everything looks good for the Kestrel change, and it didn't have to detrimental of an impact to our benchmarks, I think we should take this despite the lack of IIS-related customer reports so far.

@jkotalik @davidfowl @pakrym if you're still interested.

@jkotalik
Copy link
Contributor

Got some build errors there 😮

@halter73 halter73 force-pushed the halter73/8843-iis branch from e8c3d21 to 236434d Compare June 13, 2019 17:58
@halter73
Copy link
Member Author

Maybe I should try building before submitting my PR next time 😆

@analogrelay
Copy link
Contributor

But that's what The ☁️ is for ;)

@halter73 halter73 force-pushed the halter73/8843-iis branch from 236434d to 6a3f573 Compare June 14, 2019 01:12
}

private async Task FlushAsyncAwaited(ValueTask<FlushResult> awaitable, CancellationToken cancellationToken)
private Task FlushNowAsync(PipeWriter pipeWriter, CancellationToken cancellationToken)
Copy link
Contributor

Choose a reason for hiding this comment

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

FlushNow is... an interesting name. I can't think of anything better.

Copy link
Contributor

@jkotalik jkotalik left a comment

Choose a reason for hiding this comment

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

Fix looks good, let's make sure the Kestrel changes are stable.

@halter73
Copy link
Member Author

/azp run AspNetCore-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@halter73
Copy link
Member Author

/azp run AspNetCore-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@halter73
Copy link
Member Author

/azp run AspNetCore-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@halter73 halter73 merged commit 0d92fee into master Jun 21, 2019
@ghost ghost deleted the halter73/8843-iis branch June 21, 2019 00:38
@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.

4 participants