-*- coding: utf-8 -*-
Changes with Apache 2.4.38
+ *) mod_ssl: Fix the error code returned in an error path of
+ 'ssl_io_filter_handshake()'. This messes-up error handling performed
+ in 'ssl_io_filter_error()' [Yann Ylavic]
+
*) mod_proxy: If ProxyPassReverse is used for reverse mapping of relative
redirects, subsequent ProxyPassReverse statements, whether they are
relative or absolute, may fail. PR 60408. [Peter Haworth <pmh1wheel gmail.com>]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_ssl: Fix the error code returned in an error path of 'ssl_io_filter_handshake()'
- This messes-up error handling performed in 'ssl_io_filter_error()'
- trunk patch: http://svn.apache.org/r1645529
- http://svn.apache.org/r1839442
- 2.4.x patch: http://home.apache.org/~ylavic/patches/httpd-2.4.x-mod_proxy-handshake-bad_gateway.patch
- +1: ylavic, jim, minfrin
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
break;
case MODSSL_ERROR_BAD_GATEWAY:
- bucket = ap_bucket_error_create(HTTP_BAD_REQUEST, NULL,
- f->c->pool,
- f->c->bucket_alloc);
ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, f->c, APLOGNO(01997)
"SSL handshake failed: sending 502");
- break;
+ f->c->aborted = 1;
+ return APR_EGENERAL;
default:
return status;
/* ensure that the SSL structures etc are freed, etc: */
ssl_filter_io_shutdown(filter_ctx, c, 1);
apr_table_setn(c->notes, "SSL_connect_rv", "err");
- return HTTP_BAD_GATEWAY;
+ return MODSSL_ERROR_BAD_GATEWAY;
}
apr_table_setn(c->notes, "SSL_connect_rv", "ok");