mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416589 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -869,7 +869,9 @@ static apr_status_t ssl_io_filter_error(ap_filter_t *f,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case MODSSL_ERROR_BAD_GATEWAY:
|
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->pool,
|
||||||
f->c->bucket_alloc);
|
f->c->bucket_alloc);
|
||||||
ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, f->c, APLOGNO(01997)
|
ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, f->c, APLOGNO(01997)
|
||||||
|
Reference in New Issue
Block a user