Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133412
Collapse All | Expand All

(-)a/http.c (+5 lines)
Lines 26-31 long curl_low_speed_time = -1; Link Here
26
26
27
struct curl_slist *pragma_header;
27
struct curl_slist *pragma_header;
28
struct curl_slist *no_range_header;
28
struct curl_slist *no_range_header;
29
struct curl_slist *no_dav_headers;
29
30
30
struct active_request_slot *active_queue_head = NULL;
31
struct active_request_slot *active_queue_head = NULL;
31
32
Lines 209-214 void http_init(void) Link Here
209
210
210
	pragma_header = curl_slist_append(pragma_header, "Pragma: no-cache");
211
	pragma_header = curl_slist_append(pragma_header, "Pragma: no-cache");
211
	no_range_header = curl_slist_append(no_range_header, "Range:");
212
	no_range_header = curl_slist_append(no_range_header, "Range:");
213
	no_dav_headers = curl_slist_append(no_dav_headers, "Depth:");
214
	no_dav_headers = curl_slist_append(no_dav_headers, "Content-type:");
212
215
213
#ifdef USE_CURL_MULTI
216
#ifdef USE_CURL_MULTI
214
	{
217
	{
Lines 344-351 #endif Link Here
344
	slot->finished = NULL;
347
	slot->finished = NULL;
345
	slot->callback_data = NULL;
348
	slot->callback_data = NULL;
346
	slot->callback_func = NULL;
349
	slot->callback_func = NULL;
350
	curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, NULL);
347
	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header);
351
	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header);
348
	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header);
352
	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header);
353
	curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_dav_headers);
349
	curl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr);
354
	curl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr);
350
355
351
	return slot;
356
	return slot;

Return to bug 133412