You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, this is not a whole CORS but only a request Origin header. Because according to a standard RFC6455, WebSocket connection might have such header to verify, but not other CORS headers.
In the RR1 that value checking was skipped. In the actual implementation this part was not completely discussed, so, let me discuss this with @wolfy-j.
@wolfy-j In the broadcast-ws plugin default behaviour was to skip Origin header check for the WS connections:
u.CheckOrigin=func(r*http.Request) bool {
// allow all connections by defaultreturntrue
}
CORS headers are incorrectly processed.
First Playback
Configuration
Worker Code
Actual Behaviour
RR Trace:
Expected Behaviour
Correct HTTP 101 Response
Second Variant
Configuration
Worker Code
Actual Behaviour
RR Trace:
Expected Behaviour
Correct HTTP 101 Response
The text was updated successfully, but these errors were encountered: