FreeBSD Bugzilla – Attachment 243772 Details for
Bug 272674
ports-mgmt/pkg 1.20.4 fails to read from a web server using digest authentication with http
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
always allow all supported auth
patch-auth-digest (text/plain), 501 bytes, created by
Baptiste Daroussin
on 2023-08-01 16:05:58 UTC
(
hide
)
Description:
always allow all supported auth
Filename:
MIME Type:
Creator:
Baptiste Daroussin
Created:
2023-08-01 16:05:58 UTC
Size:
501 bytes
patch
obsolete
>diff --git libpkg/fetch_libcurl.c libpkg/fetch_libcurl.c >index da9e4bb1..f7a09d67 100644 >--- libpkg/fetch_libcurl.c >+++ libpkg/fetch_libcurl.c >@@ -442,8 +442,8 @@ retry: > pkg_debug(1, "CURL> attempting to fetch from %s, left retry %ld\n", > lurl, retry); > } >+ curl_easy_setopt(cl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY); > if (userpasswd != NULL) { >- curl_easy_setopt(cl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY); > curl_easy_setopt(cl, CURLOPT_USERPWD, userpasswd); > } > if (http_proxy != NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272674
:
243563
| 243772 |
243823