diff --git a/checkin_notes b/checkin_notes index b7a003fb30..51256e66e9 100755 --- a/checkin_notes +++ b/checkin_notes @@ -666,3 +666,11 @@ David 20 Jan 2006 client/ 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 diff --git a/client/http_curl.C b/client/http_curl.C index 87ae00427f..9d727a3747 100644 --- a/client/http_curl.C +++ b/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; } } + + // suppress Expect line in header (avoids problems with some proxies) + // + pcurlList = curl_slist_append(pcurlList, "Expect:"); + if (pcurlList) { // send custom headers if required curlErr = curl_easy_setopt(curlEasy, CURLOPT_HTTPHEADER, pcurlList); }