apache / apache/pekko-http

support HTTP/1.1 vs HTTP/2 protocol negotiation for client connections

Open
#483 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
196
Forks
55
Avg merge
4d 52m
Merged PRs (30d)
74

Description

Aim would be to request a HTTP/2 client connection but to allow failover to HTTP/1.1 if the server-side does not support HTTP/2.

See https://pekko.apache.org/docs/pekko-http/current/client-side/http2.html#http-2-over-tls - which says:

Apache Pekko HTTP does not currently support protocol negotiation to fall back to HTTP/1.1 for this API. When the server does not support HTTP/2, the stream will fail.

Contributor guide

Open the contributing guide

Research direction

Start with the HTTP/2 client-side documentation linked in the issue, especially the HTTP/2 over TLS section, and trace the client connection API it describes. Define completion as negotiating HTTP/2 when supported and falling back to HTTP/1.1 when the server does not support HTTP/2, without the stream failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.