Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable xhr fallback on websocket connection #15717

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

ramonlsouza
Copy link
Member

What does this PR do?

Disable xhr fallback on websocket connection.

@ramonlsouza ramonlsouza added this to the Release 2.6 milestone Sep 20, 2022
@TiagoJacobs
Copy link
Member

TiagoJacobs commented Sep 20, 2022

Hello.

Without this PR:

As we can see in this video, after connection is dropped we see a lot of failed xhr requests:

without-the-fix.mov

With this PR:

As we can see in this video, with this fix, the browser tries to reconnect using websocket in a calm and nice way 😎

with-the-fix.mov

@ritzalam ritzalam merged commit f663615 into bigbluebutton:v2.6.x-release Sep 20, 2022
@TiagoJacobs
Copy link
Member

Hello @ramonlsouza - in a subsequent PR, let's make this configurable - but as this target 2.6, it's good to merge as is.

@sonarcloud
Copy link

sonarcloud bot commented Sep 20, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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

Successfully merging this pull request may close these issues.

None yet

3 participants