curl 7.42.1, curl 7.42.0 CPU 100 % I rolled to version 7.39 (( Reproducible: Always
Can you please post some information about you environment? Something like emerge --info net-misc/curl and the command that triggered this behavior.
Created attachment 403322 [details] emerge --info net-misc/curl
i wasn't able to every reproduce this. is there any other info you can give me about when it happens?
curl -compressed --proxytunnel --proxy 10.0.0.1:8080 ....
(In reply to Victor from comment #4) > curl -compressed --proxytunnel --proxy 10.0.0.1:8080 .... I ran that against provioxy using curl -compressed --proxytunnel --proxy 127.0.0.1:8118 http://www.google.com and it terminated in less than a second. Can you put the process into the background, strace it an post the output. Make sure to use -f to get all the children as well.
curl 100 % CPU usage when a connection to the proxytunnel (connect proxy) If the proxy is slow, it is very noticeable
(In reply to Victor from comment #6) > curl 100 % CPU usage when a connection to the proxytunnel (connect proxy) > > If the proxy is slow, it is very noticeable Okay but I still need the strace to see where its getting stuck. Sounds to me like some busywaiting but it would be hard to locate without some idea. You can also try gdb. Get the process to dump core when its consuming 100% and get a backtrace.
I don't have enough to act on this. Please reopen if you have more information.
curl_ 100 % CPU usage when a connection to the proxytunnel (connect proxy) for curl option --proxytunnel for libcurl option CURLOPT_HTTPPROXYTUNNEL If the proxy is slow or not work, it is very noticeable sorry for my English
Created attachment 425514 [details] test curl --proxytunnel
Created attachment 425516 [details] test curl --proxytunnel proxy:[port]