Allow upgrade to websocket for HTTP 1.1 listeners#867
Allow upgrade to websocket for HTTP 1.1 listeners#867Xunzhuo merged 1 commit intoenvoyproxy:mainfrom
Conversation
|
@skriss @AliceProxy does Contour and Emissary have this upgrade enabled by default as well, similar to Istio ? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #867 +/- ##
==========================================
+ Coverage 64.10% 64.17% +0.07%
==========================================
Files 52 52
Lines 7170 7179 +9
==========================================
+ Hits 4596 4607 +11
+ Misses 2290 2288 -2
Partials 284 284 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Xunzhuo
left a comment
There was a problem hiding this comment.
Or should we use configuration to determine if we use websocket or not?
@Xunzhuo can you share any reason why a user might have web sockets enabled in the app backend but would like to force disable it in the proxy ? |
Xunzhuo
left a comment
There was a problem hiding this comment.
Sorry maybe I overthink it, LGTM, thanks!
Fixes: envoyproxy#836 Signed-off-by: Arko Dasgupta <arko@tetrate.io>
dd4038c to
777aebf
Compare
|
Emissary will not upgrade to websockets unless explicitly configured by the user |
|
Contour's is also opt-in on a per-route basis (for HTTPProxy). It's not currently supported for Gateway API. |
|
thanks @AliceProxy and @skriss for sharing Emissary's and Contour's implementation. |
Fixes: #836
Signed-off-by: Arko Dasgupta arko@tetrate.io