diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-30 15:02:32 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-11 17:33:28 +0200 |
commit | f79b665243dd3bfd39009cb4c15439da547f4e30 (patch) | |
tree | 8040d13ac572914521849d110cd848a07f4870aa /src | |
parent | 1d81b1ab18cc7a3ede63c5241ec92ce49e69ed87 (diff) | |
download | strongswan-f79b665243dd3bfd39009cb4c15439da547f4e30.tar.bz2 strongswan-f79b665243dd3bfd39009cb4c15439da547f4e30.tar.xz |
scepclient: Use HTTP 1.0 for all requests.
Diffstat (limited to 'src')
-rw-r--r-- | src/scepclient/scep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scepclient/scep.c b/src/scepclient/scep.c index 433fc6bf9..bed898b1d 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); } |