anmonteiro / anmonteiro/piaf

ws_upgrade should force HTTP 1.1

Abierto
#221 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
OCaml
Estrellas
217
Forks
26
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.