diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-02 12:56:45 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-02 12:56:47 +0200 |
commit | c08a23d23bc267c531f6b4b364ac0259319077f6 (patch) | |
tree | b99c88acdfd6ce80ce95d338f3493a7cea2d989d /src/ocsptool-common.c | |
parent | f07542836648a3149880505a45b099aef74a8b02 (diff) | |
download | gnutls-c08a23d23bc267c531f6b4b364ac0259319077f6.tar.gz |
ocsptool: use HTTP/1.0 for requests
This avoids issue with servers serving chunk encoding which
ocsptool doesn't support. Reported by Thomas Klute.
Diffstat (limited to 'src/ocsptool-common.c')
-rw-r--r-- | src/ocsptool-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ocsptool-common.c b/src/ocsptool-common.c index b0fb18ddd2..beab82b27a 100644 --- a/src/ocsptool-common.c +++ b/src/ocsptool-common.c @@ -37,7 +37,7 @@ #include <ocsptool-common.h> #define MAX_BUF 4*1024 -#define HEADER_PATTERN "POST /%s HTTP/1.1\r\n" \ +#define HEADER_PATTERN "POST /%s HTTP/1.0\r\n" \ "Host: %s\r\n" \ "Accept: */*\r\n" \ "Content-Type: application/ocsp-request\r\n" \ |