jetty / jetty/jetty.project

HTTP/2 server-initiated streams

Open
#540 13 comments 0 reactions 1 assignee Claimed by @sbordet View on GitHub
Enhancement Specification
Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
3d 56m
Merged PRs (30d)
48

Description

It would be nice if the HTTP/2 implementation supported server-initiated streams to a client, after the connection prefaces have been exchanged.

A quick look at what this would require is:
- to emit a "ready" event after the preface has been successfully received (both on client and on server). This would allow a server to know the first available moment to initiate a stream towards the client.
- to handle server-initiated streams in `HTTP2ClientSession.onHeaders()`, as currently they are dropped. The implementation would be trivial and basically be a copy of what the server does.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.