mirror of https://github.com/BOINC/boinc.git
parent
aeaad55cf0
commit
991b2c7300
|
@ -666,3 +666,11 @@ David 20 Jan 2006
|
||||||
|
|
||||||
client/
|
client/
|
||||||
file_xfer.C
|
file_xfer.C
|
||||||
|
|
||||||
|
David 20 Jan 2006
|
||||||
|
- suppress "Expect: 100 continue" in HTTP header.
|
||||||
|
Apparently this causes problems with some proxies
|
||||||
|
(from Ian Hay)
|
||||||
|
|
||||||
|
client/
|
||||||
|
http_curl.C
|
||||||
|
|
|
@ -388,6 +388,11 @@ The checking this option controls is of the identity that the server claims. The
|
||||||
return ERR_FOPEN;
|
return ERR_FOPEN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// suppress Expect line in header (avoids problems with some proxies)
|
||||||
|
//
|
||||||
|
pcurlList = curl_slist_append(pcurlList, "Expect:");
|
||||||
|
|
||||||
if (pcurlList) { // send custom headers if required
|
if (pcurlList) { // send custom headers if required
|
||||||
curlErr = curl_easy_setopt(curlEasy, CURLOPT_HTTPHEADER, pcurlList);
|
curlErr = curl_easy_setopt(curlEasy, CURLOPT_HTTPHEADER, pcurlList);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue