]> granicus.if.org Git - apache/commitdiff
* Send Content-Type application/ocsp-request for POST requests to OSCP
authorRuediger Pluem <rpluem@apache.org>
Wed, 15 Oct 2008 13:40:56 +0000 (13:40 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 15 Oct 2008 13:40:56 +0000 (13:40 +0000)
  responders.

PR: 46014
Submitted by: Dr Stephen Henson <steve openssl.org>
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704917 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/ssl/ssl_util_ocsp.c

diff --git a/CHANGES b/CHANGES
index d5bda993ad0423606cd13a0d8f28f23fc248e57b..c8329779823b2ebc2ae38f4338ec1074382a3c5c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
 [ When backported to 2.2.x, remove entry from this file ]
 
+  *) mod_ssl: Send Content-Type application/ocsp-request for POST requests to
+     OSCP responders. PR 46014 [Dr Stephen Henson <steve openssl.org>]
+
   *) Export and install the mod_rewrite.h header to ensure the optional
      rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are
      available to third party modules. [Graham Leggett]
index 928a27e45e4af614d96031e693096d6d940d26cf..3461c91890fa692eb7c60f9d3a0556537b627ffe 100644 (file)
@@ -38,6 +38,7 @@ static BIO *serialize_request(OCSP_REQUEST *req, const apr_uri_t *uri)
 
     BIO_printf(bio, "POST %s%s%s HTTP/1.0\r\n"
                "Host: %s:%d\r\n"
+               "Content-Type: application/ocsp-request\r\n"
                "Content-Length: %d\r\n"
                "\r\n", 
                uri->path ? uri->path : "/",