ws_upgrade should force HTTP 1.1
Ouverte
- Langage dominant
- OCaml
- Étoiles
- 217
- Forks
- 26
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.