mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* Play safe if the notes table does not contain an SSL_connect_rv key.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1069785 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -272,8 +272,10 @@ static int pass_brigade(apr_bucket_alloc_t *bucket_alloc,
|
||||
"proxy: pass request body failed to %pI (%s)",
|
||||
p_conn->addr, p_conn->hostname);
|
||||
if (origin->aborted) {
|
||||
if (strcmp(apr_table_get(origin->notes,
|
||||
"SSL_connect_rv"), "err") == 0) {
|
||||
const char *ssl_note;
|
||||
|
||||
if (((ssl_note = apr_table_get(origin->notes, "SSL_connect_rv"))
|
||||
!= NULL) && (strcmp(ssl_note, "err") == 0)) {
|
||||
return ap_proxyerror(r, HTTP_INTERNAL_SERVER_ERROR,
|
||||
"Error during SSL Handshake with"
|
||||
" remote server");
|
||||
|
Reference in New Issue
Block a user