Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88036 Details for
Bug 133412
git clone fails with webdav in USE
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
http-fetch-dav.patch
http-fetch-dav.patch (text/plain), 1.08 KB, created by
Fernando J. Pereda (RETIRED)
on 2006-05-31 13:57:06 UTC
(
hide
)
Description:
http-fetch-dav.patch
Filename:
MIME Type:
Creator:
Fernando J. Pereda (RETIRED)
Created:
2006-05-31 13:57:06 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/http.c b/http.c >index 0cb42a8..12ea126 100644 >--- a/http.c >+++ b/http.c >@@ -26,6 +26,7 @@ long curl_low_speed_time = -1; > > struct curl_slist *pragma_header; > struct curl_slist *no_range_header; >+struct curl_slist *no_dav_headers; > > struct active_request_slot *active_queue_head = NULL; > >@@ -209,6 +210,8 @@ void http_init(void) > > pragma_header = curl_slist_append(pragma_header, "Pragma: no-cache"); > no_range_header = curl_slist_append(no_range_header, "Range:"); >+ no_dav_headers = curl_slist_append(no_dav_headers, "Depth:"); >+ no_dav_headers = curl_slist_append(no_dav_headers, "Content-type:"); > > #ifdef USE_CURL_MULTI > { >@@ -344,8 +347,10 @@ #endif > slot->finished = NULL; > slot->callback_data = NULL; > slot->callback_func = NULL; >+ curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, NULL); > curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header); > curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header); >+ curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_dav_headers); > curl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr); > > return slot;
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 133412
: 88036