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

RequestServer: Don't assert for socket fd not being CURL_SOCKET_BAD #3930

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mobounya
Copy link
Contributor

The assertion in WebSocketImplCurl::did_connect() keeps failing for multiple websockets when loading https://www.speedtest.net/ since commit 14ebcd4. This fixes that by checking and returning false if something went wrong and letting the caller function handle it.

Fixes: #3828

@mobounya mobounya requested a review from alimpfard as a code owner March 14, 2025 02:12
The assertion in `WebSocketImplCurl::did_connect()` keeps failing for
multiple websockets when loading `https://www.speedtest.net/` since
commit 14ebcd4. This fixes that by checking and returning false if
something went wrong and letting the caller function handle it.

Issue: LadybirdBrowser#3828
@mobounya mobounya force-pushed the ws_curl_handle_bad_socket branch from b0e72fa to 78a25da Compare March 14, 2025 02:35
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.

Crashes when trying to run speedtest.net
1 participant