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 7.87.0 seems to break curl_multi_socket_action
#10146
Comments
Bisected this to dafdb20 |
@icing I think we need to start out by double-checking what the *getsock() calls returns for this case. This has the smell of a problem in there. |
@bagder is there more information tbh on how curl multi is used in this case? |
curl_multi
curl_multi_socket_action
Hmm, I am unable to reproduce on a 7.87.0 build. It opens (and keeps a HTTP/2) connection and performs all requests in time. |
@icing It's possible that reproducing this requires certain network conditions. If you need any debug output etc. from me feel free to comment on this issue. Edit: Just in case you're wondering, there's no proxy in my network environment. |
When there are filters addded for both socket and SSL, the code previously checked the SSL sockets during connect when it *should* first check the socket layer until that has connected. Fixes curl#10157 Fixes curl#10146 Closes curl#10160 Reviewed-by: Stefan Eissing
[ commit f3e6f81620c2d24dc6ad0e7bd1fae057d3422bc3 ] curl/curl#10146 curl/curl#10148
I did this
cd docs/examples gcc -lcurl -levent hiperfifo.c ./a.out
Then open another terminal and do
echo "https://envs.net" > hiper.fifo
It took about 2 minutes for the program to finish the request.
I expected the following
The request is finished in a timely manner.
curl/libcurl version
operating system
Arch Linux with kernel 6.1.1-arch1-1, openssl 3.0.7-4, libevent 2.1.12-4
The text was updated successfully, but these errors were encountered: