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 enters busy loop when POSTing HTTP/2 to IBM Cloud using digest auth #11892
Comments
Curl enters the busy loop inside Curl_http_input_auth() within while(*auth) { ... }. |
@OlekMazur after reading the code again I can only agree with you. I made #11895 as an attempted fix. It would be great if you can just double-check that I got it right. |
I confirm that the fix works for me. |
When bearer auth was disabled, the if/else logic got wrong and caused problems. Follow-up to e92edfb Fixes curl#11892 Reported-by: Aleksander Mazur Closes curl#11895
When bearer auth was disabled, the if/else logic got wrong and caused problems. Follow-up to e92edfb Fixes curl#11892 Reported-by: Aleksander Mazur Closes curl#11895
I did this
I did the same query as in #11194 and #11485, and found a regression in 8.3.0 compared to 8.2.1.
This time it's neither timeout nor connection reset but busy loop after getting 401.
Full output:
... and curl process starts hogging CPU seemingly endlessly.
I expected the following
No response
curl/libcurl version
curl 8.3.0 (x86_64-pc-linux-gnu) libcurl/8.3.0 OpenSSL/3.0.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 nghttp2/1.52.0
Release-Date: 2023-09-13
Protocols: http https imap imaps smtp smtps
Features: AsynchDNS brotli HTTP2 HTTPS-proxy Largefile libz SSL threadsafe zstd
operating system
Linux 6.4.13-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 30 17:07:31 UTC 2023 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: