mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:02:49 +03:00
ssl_io_input_read needs to return something other than APR_SUCCESS
when bucket read from socket was successful, but there was an error within the ssl runtime. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -677,6 +677,13 @@ static apr_status_t ssl_io_input_read(ssl_io_input_ctx_t *ctx,
|
|||||||
char_buffer_write(&ctx->cbuf, buf, rc);
|
char_buffer_write(&ctx->cbuf, buf, rc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if ((rc == -1) && (ctx->inbio.rc == APR_SUCCESS)) {
|
||||||
|
/*
|
||||||
|
* bucket read from socket was successful,
|
||||||
|
* but there was an error within the ssl runtime.
|
||||||
|
*/
|
||||||
|
return APR_EGENERAL;
|
||||||
|
}
|
||||||
|
|
||||||
return ctx->inbio.rc;
|
return ctx->inbio.rc;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user