You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2008/10/15 15:40:56 UTC

svn commit: r704917 - in /httpd/httpd/trunk: CHANGES modules/ssl/ssl_util_ocsp.c

Author: rpluem
Date: Wed Oct 15 06:40:56 2008
New Revision: 704917

URL: http://svn.apache.org/viewvc?rev=704917&view=rev
Log:
* Send Content-Type application/ocsp-request for POST requests to OSCP
  responders.

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

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=704917&r1=704916&r2=704917&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Wed Oct 15 06:40:56 2008
@@ -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]

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c?rev=704917&r1=704916&r2=704917&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_ocsp.c Wed Oct 15 06:40:56 2008
@@ -38,6 +38,7 @@
 
     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 : "/",