anmonteiro / anmonteiro/piaf

ws_upgrade should force HTTP 1.1

Offen
#221 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
OCaml
Sterne
217
Forks
26
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

trying to connect to a WSS endpoint, I met two errors:
- "wss scheme not supported"
- an upgrade failure `WS upgrade error: Protocol Error (PROTOCOL_ERROR (0x1))` which I think is
caused by the fact that upgrading a connection from HTTP 2 is different than from HTTP 1.1.
Forcing, using `Piaf.Config`, the client to use HTTP 1.1 makes the upgrade work fine.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.