From: Tobias Brunner Date: Wed, 30 May 2012 13:02:32 +0000 (+0200) Subject: scepclient: Use HTTP 1.0 for all requests. X-Git-Tag: 5.0.0~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79b665243dd3bfd39009cb4c15439da547f4e30;p=thirdparty%2Fstrongswan.git scepclient: Use HTTP 1.0 for all requests. --- diff --git a/src/scepclient/scep.c b/src/scepclient/scep.c index 433fc6bf9b..bed898b1d7 100644 --- a/src/scepclient/scep.c +++ b/src/scepclient/scep.c @@ -344,6 +344,7 @@ bool scep_http_request(const char *url, chunk_t pkcs7, scep_op_t op, snprintf(complete_url, len, "%s?operation=%s", url, operation); status = lib->fetcher->fetch(lib->fetcher, complete_url, response, + FETCH_HTTP_VERSION_1_0, FETCH_REQUEST_DATA, pkcs7, FETCH_REQUEST_TYPE, "", FETCH_REQUEST_HEADER, "Expect:", @@ -361,6 +362,7 @@ bool scep_http_request(const char *url, chunk_t pkcs7, scep_op_t op, url, operation); status = lib->fetcher->fetch(lib->fetcher, complete_url, response, + FETCH_HTTP_VERSION_1_0, FETCH_END); }