httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1416589 - /httpd/httpd/trunk/modules/ssl/ssl_engine_io.c
Date Mon, 03 Dec 2012 16:58:23 GMT
Author: jorton
Date: Mon Dec  3 16:58:21 2012
New Revision: 1416589

URL: http://svn.apache.org/viewvc?rev=1416589&view=rev
Log:
* modules/ssl/ssl_engine_io.c (ssl_io_filter_error): Use the correct
  response status in the 502 error bucket; fortuitously this error
  bucket is currently ignored so this bug was not user-visible.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_io.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_io.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_io.c?rev=1416589&r1=1416588&r2=1416589&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_io.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_io.c Mon Dec  3 16:58:21 2012
@@ -869,7 +869,9 @@ static apr_status_t ssl_io_filter_error(
             break;
 
     case MODSSL_ERROR_BAD_GATEWAY:
-        bucket = ap_bucket_error_create(HTTP_BAD_REQUEST, NULL,
+        /* Send an error bucket, though the proxy currently has no
+         * special handling for error buckets and ignores this. */
+        bucket = ap_bucket_error_create(HTTP_BAD_GATEWAY, NULL,
                                         f->c->pool,
                                         f->c->bucket_alloc);
         ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, f->c, APLOGNO(01997)



Mime
View raw message