Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Add flag to disable synchronous IO #366

Closed
halter73 opened this issue Jun 23, 2017 · 2 comments
Closed

Add flag to disable synchronous IO #366

halter73 opened this issue Jun 23, 2017 · 2 comments
Assignees
Milestone

Comments

@halter73
Copy link
Member

This is the equivalent of aspnet/KestrelHttpServer#1521.

Both servers will need to throw an InvalidOperationException on Request.Body.Read() and Response.Body.Write(). You can opt back in to synchronous IO using IHttpBodyControlFeature.AllowSynchronousIO.

@Tratcher Tratcher self-assigned this Jun 23, 2017
@Tratcher
Copy link
Member

@muratg This needs to go into 2.0 or else it's a major breaking change.

@muratg muratg added this to the 2.0.0 milestone Jun 23, 2017
@muratg
Copy link

muratg commented Jun 23, 2017

Yeah, we decided to do this in Kestrel as well. Let's do it in 2.0.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants