From: Ruediger Pluem Date: Wed, 15 Oct 2008 13:40:56 +0000 (+0000) Subject: * Send Content-Type application/ocsp-request for POST requests to OSCP X-Git-Tag: 2.3.0~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1de193fc58ef3e9b202b146c6e81dca7c558a8d;p=thirdparty%2Fapache%2Fhttpd.git * Send Content-Type application/ocsp-request for POST requests to OSCP responders. PR: 46014 Submitted by: Dr Stephen Henson Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704917 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d5bda993ad0..c8329779823 100644 --- 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 ] + *) 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] diff --git a/modules/ssl/ssl_util_ocsp.c b/modules/ssl/ssl_util_ocsp.c index 928a27e45e4..3461c91890f 100644 --- a/modules/ssl/ssl_util_ocsp.c +++ b/modules/ssl/ssl_util_ocsp.c @@ -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 : "/",