mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Make the ssl expression parser thread-safe. It now requires bison instead of
yacc. Also change the make file magic so that the real source file name is embedded in the debug info. The generated files have been created with flex 2.5.35/bison 2.4.1. The two 'no previous prototype' warnings are supposed to be fixed with the next flex version. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002824 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -899,13 +899,14 @@ int ssl_hook_Access(request_rec *r)
|
||||
|
||||
for (i = 0; i < requires->nelts; i++) {
|
||||
ssl_require_t *req = &ssl_requires[i];
|
||||
ok = ssl_expr_exec(r, req->mpExpr);
|
||||
const char *errstring;
|
||||
ok = ssl_expr_exec(r, req->mpExpr, &errstring);
|
||||
|
||||
if (ok < 0) {
|
||||
cp = apr_psprintf(r->pool,
|
||||
"Failed to execute "
|
||||
"SSL requirement expression: %s",
|
||||
ssl_expr_get_error());
|
||||
errstring);
|
||||
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
|
||||
"access to %s failed, reason: %s",
|
||||
|
Reference in New Issue
Block a user