Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Apr 20, 2021

Addresses #29702

@JamesNK JamesNK requested a review from a team April 20, 2021 09:08

var receivedHeaders = await requestStream.ExpectHeadersAsync();

await requestStream.ExpectReceiveEndOfStream();
Copy link
Member

Choose a reason for hiding this comment

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

Should there be a stream reset received here?

Copy link
Member

@Tratcher Tratcher Apr 20, 2021

Choose a reason for hiding this comment

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

https://quicwg.org/base-drafts/draft-ietf-quic-http.html#section-4.1-14

A server can send a complete response prior to the client sending an entire request if the response does not depend on any portion of the request that has not been sent and received. When the server does not need to receive the remainder of the request, it MAY abort reading the request stream, send a complete response, and cleanly close the sending part of the stream. The error code H3_NO_ERROR SHOULD be used when requesting that the client stop sending on the request stream. ... If the server sends a partial or complete response but does not abort reading the request, clients SHOULD continue sending the body of the request and close the stream normally.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. This is the follow up - #31970

@JamesNK JamesNK merged commit ec69111 into main Apr 20, 2021
@JamesNK JamesNK deleted the jamesnk/http3-maxrequestbodysize-tests branch April 20, 2021 20:33
@JamesNK JamesNK added this to the 6.0-preview5 milestone Apr 20, 2021
@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.

5 participants