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

Are stream chunks HTTP/3 frames? #28

Closed
marten-seemann opened this issue Jan 11, 2021 · 4 comments
Closed

Are stream chunks HTTP/3 frames? #28

marten-seemann opened this issue Jan 11, 2021 · 4 comments

Comments

@marten-seemann
Copy link

The draft is not clear if stream chunks are

  1. HTTP/3 frames (and as such serialized onto the QUIC stream directly), or
  2. if they're supposed to be sent as the payload of HTTP/3 DATA frames.

I assume 1., and I'd be happy to come up with an editorial PR to clarify this.

@DavidSchinazi
Copy link
Collaborator

Stream chunks are sent as the payload of h3 DATA frames, or the payload of h2 DATA frames, or directly in the TLS stream in HTTP/1.1. I'll clarify the text.

@marten-seemann
Copy link
Author

Stream chunks are sent as the payload of h3 DATA frames, or the payload of h2 DATA frames

I'm sure you have a reason for this. Why don't we define a new frame type here? I realize that this means using a different serialization for H2 and H3, but this is something your HTTP stack would most likely know how to handle.

@DavidSchinazi
Copy link
Collaborator

What's the benefit of defining a new frame? CONNECT uses DATA frames; a departure from that would increase complexity.

@DavidSchinazi
Copy link
Collaborator

Overcome by events: stream chunks were removed in 6498908. Closing.

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

No branches or pull requests

2 participants