-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
curl_ws_recv() is crashing after auto-respond to PING #10289
Comments
Do you have a way to reproduce this issue? |
Need to wait a bit ping-message. |
bagder
added a commit
that referenced
this issue
Jan 13, 2023
Reported-by: Alexey Savchuk Fixes #10289
Awesome! Thank you. |
@bagder I think I found another bug. Steps to reproduce:
|
bch
pushed a commit
to bch/curl
that referenced
this issue
Jul 19, 2023
Reported-by: Alexey Savchuk Fixes curl#10289 Closes curl#10294
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta);
I have the following
crash --> ws.c:475: curl_ws_recv: Assertion `wsp->frame.bytesleft >= (curl_off_t)write_len' failed.
curl/libcurl version
curl 7.87.0-DEV (x86_64-pc-linux-gnu) libcurl/7.87.0-DEV OpenSSL/3.0.2 zlib/1.2.11 libpsl/0.21.0 (+libidn2/2.3.2) nghttp2/1.43.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS Debug HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB PSL SSL threadsafe TLS-SRP TrackMemory UnixSockets
operating system
Linux sabo-probook 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: