Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Force http/1.1 for websocket #31

Merged
merged 1 commit into from
Oct 20, 2017
Merged

Conversation

juliens
Copy link
Member

@juliens juliens commented Oct 20, 2017

related to: traefik/traefik#2280

websocket is in http/1.1 (https://github.com/gorilla/websocket/blob/71fa72d4842364bc5f74185f4161e0099ea3624a/client.go#L155)
If the backend server authorized http2, http2 was used for this http/1.1 request, that's why it failed.

https://daniel.haxx.se/blog/2016/06/15/no-websockets-over-http2/

Copy link
Member

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏 👏

Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants