Searched defs:error (Results 1 - 22 of 22) sorted by relevance

/httpd/server/
H A Derror_bucket.c41 AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error, argument
47 h->status = error;
55 AP_DECLARE(apr_bucket *) ap_bucket_error_create(int error, const char *buf, argument
64 if (!ap_is_HTTP_VALID_RESPONSE(error)) {
65 error = HTTP_INTERNAL_SERVER_ERROR;
67 return ap_bucket_error_make(b, error, buf, p);
H A Dmain.c276 /* If we are to print an error, we need the name before we destroy pool.
335 * exceptional error reporting required for the lifetime
420 " -w : hold open the console window on error");
467 const char *error; local
504 error = ap_setup_prelinked_modules(process);
505 if (error) {
507 "%s: %s", ap_server_argv0, error);
H A Dutil_expr_private.h101 const char *error; member in struct:__anon386
H A Dconfig.c697 const char *error; local
702 error = ap_add_module(mod, p, short_name);
703 if (error) {
704 return error;
757 const char *error; local
797 error = ap_add_module(*m, process->pconf, NULL);
798 if (error) {
799 return error;
1318 /* If the directive in error has already been set, don't
1319 * replace it. Otherwise, an error insid
1793 const char *error; local
1835 const char *error; local
1971 const char *error; local
2395 const char *confname, *error; local
[all...]
H A Dcore.c942 /* if failed, set it to the NULL string to indicate error */
1425 /* generate error or warning with a configuration file position.
1571 /* The entry should be ignored if it is a full URL for a 401 error */
1585 * canned server error response
2100 * Report a missing-'>' syntax error.
2109 * Report a missing args in '<Foo >' syntax error.
3084 const char *conffile, *error; local
3113 error = ap_process_fnmatch_configs(cmd->server, conffile, &conftree,
3116 if (error) {
3118 return error;
[all...]
/httpd/modules/metadata/
H A Dmod_version.c76 static int compare_version(char *version_string, const char **error) argument
82 *error = "Version appears to be invalid. It must have the format "
110 if (p < ep) { /* syntax error */
114 *error = NULL;
143 const char **error)
151 *error = "Unable to compile regular expression";
155 *error = NULL;
178 const char *p, *error; local
225 &error);
226 if (error) {
142 match_version(apr_pool_t *pool, char *version_string, const char **error) argument
[all...]
/httpd/modules/ssl/
H A Dssl_engine_log.c55 static const char *ssl_log_annotation(const char *error) argument
60 && ap_strcmp_match(error, ssl_log_annotate[i].cpPattern) != 0)
70 "Fatal error initialising mod_ssl, exiting. "
76 "Fatal error initialising mod_ssl, exiting.");
82 * Prints the SSL library error information.
111 /* Pop the error off the stack: */
H A Dssl_engine_io.c496 * brigade, return an error after setting the retry flag;
635 /* Ensure a non-zero error code is returned */
731 "SSL library error %d reading data", ssl_err);
856 "SSL library error %d writing data", ssl_err);
897 /* Custom apr_status_t error code, used when a plain HTTP request is
901 /* Custom apr_status_t error code, used when the proxy cannot
927 "trying to send HTML error page");
939 /* Send an error bucket, though the proxy currently has no
940 * special handling for error buckets and ignores this. */
1251 * was transferred. That's not a real error an
1333 const char *error = sslconn->verify_error ? local
[all...]
/httpd/modules/core/
H A Dmod_so.c153 /* retry on error without path to use dlopen()'s search path */
193 const char *error; local
263 error = dso_load(cmd, &modhandle, filename, &module_file);
264 if (error)
265 return error;
302 error = ap_add_loaded_module(modp, cmd->pool, modname);
303 if (error) {
304 return error;
330 const char *used_file, *error; local
332 error
[all...]
/httpd/modules/filters/
H A Dmod_sed.c61 /* This function will be call back from libsed functions if there is any error
64 static apr_status_t log_sed_errf(void *data, const char *error) argument
67 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "%s", error);
72 * compilation error.
74 static apr_status_t sed_compile_errf(void *data, const char *error) argument
77 sed_cfg->last_error = error;
239 * output by calling sed_write_output and generates any error by
H A Dsed0.c48 const char* error; local
50 error = apr_pvsprintf(commands->pool, fmt, args);
51 commands->errfn(commands->data, error);
136 char *error; local
138 error = apr_psprintf(pool, SEDERR_ULMES, lab->asc);
139 return error;
H A Dsed1.c81 const char* error; local
83 error = apr_pvsprintf(eval->pool, fmt, args);
84 eval->errfn(eval->data, error);
364 const char* error = sed_get_finalize_error(eval->commands, eval->pool); local
365 if (error) {
366 eval_errf(eval, error);
H A Dmod_include.c177 int error; member in struct:ssi_internal_ctx
468 #define DEFAULT_ERROR_MSG "[an error occurred while processing this directive]"
1173 const char *error = "Invalid expression \"%s\" in file %s"; local
1214 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, error, expr,
1339 error = "Unmatched ')' in \"%s\" in file %s";
1364 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, error, expr, r->filename);
1373 error = NULL;
1552 "subrequest -A \"%s\" returned an error code.",
1559 if (!error) {
1560 error
1906 int error = 0; local
2521 int error = 0; local
[all...]
/httpd/modules/lua/
H A Dlua_dbd.c148 number of rows affected. If an error is encountered, returns nil as the
149 first parameter and the error message as the second.
304 returns the rows/columns found as a table. If an error is encountered,
305 returns nil as the first parameter and the error message as the second.
719 returns a table with functions for using the database handle. If an error
720 occurs, returns nil as the first parameter and the error message as the
730 const char *error = 0; local
787 arguments, &dbdhandle->handle, &error);
797 if (error) {
798 lua_pushstring(L, error);
[all...]
/httpd/support/
H A Drotatelogs.c288 char *error = apr_psprintf(pool, "Error linking file %s to %s (%pm)\n", local
290 fputs(error, stderr);
305 char *error = apr_psprintf(pool, "post_rotate: apr_procattr_create failed " \ local
307 fputs(error, stderr);
316 char *error = apr_psprintf(pool, "post_rotate: could not set up process " \ local
319 fputs(error, stderr);
338 char *error = apr_psprintf(pool, "Could not spawn post-rotate process " \ local
340 fputs(error, stderr);
345 /* After a error, truncate the current file and write out an error
449 char *error = apr_psprintf(newlog.pool, local
477 char *error = apr_psprintf(newlog.pool, "%pm", &rv); local
752 char *error; local
[all...]
H A Dhtcacheclean.c661 /* this may look strange but apr_stat() may return an error which
1270 static void usage(const char *error) argument
1272 if (error) {
1273 apr_file_printf(errfile, "%s error: %s\n", shortname, error);
1620 int error = 0; local
1650 error = 1;
1654 return error ? 1 : deleted ? 0 : 2;
1764 apr_file_printf(errfile, "An error occurred, cache cleaning "
/httpd/modules/generators/
H A Dmod_cgi.c25 * custom error responses, and DOCUMENT_ROOT because we found it useful.
165 apr_status_t rv, char *logno, char *error)
173 "%s%s: %s", logno ? logno : "", error, r->filename);
193 apr_file_printf(f, "%%error\n%s\n", error);
199 /* Soak up stderr from a script and redirect it to the error log.
674 * sending any stderr output immediately away to the error log. */
902 * elapses with no progress or an error occurs.
956 * running through the error processing stack as this would
959 * BTW: We circumvent the error processin
164 log_scripterror(request_rec *r, cgi_server_conf * conf, int ret, apr_status_t rv, char *logno, char *error) argument
[all...]
H A Dmod_cgid.c25 * custom error responses, and DOCUMENT_ROOT because we found it useful.
107 * based on whether or not it exited due to a fatal startup error
164 * the client doesn't see it as a 503 error.
1068 apr_status_t rv, char *error)
1076 "%s: %s", error, r->filename);
1094 apr_file_printf(f, "%%error\n%s\n", error);
1440 #error mod_cgid does not work on this platform. If you teach it to, look
1441 #error at mod_cgi.c for required code in this path.
1570 * elapses with no progress or an error occur
1067 log_scripterror(request_rec *r, cgid_server_conf * conf, int ret, apr_status_t rv, char *error) argument
[all...]
/httpd/modules/http/
H A Dhttp_filters.c85 * There are two error cases:
89 * In general, any negative number can be considered an overflow error.
210 "error-notes");
563 int error; member in struct:check_header_ctx
571 ctx->error = 1;
577 ctx->error = 1;
585 ctx->error = 1;
606 if (ctx.error)
639 * It returns true unless there was a write error of some kind.
1029 apr_table_setn(r->notes, "error
[all...]
/httpd/modules/test/
H A Dmod_policy.c51 policy_enforce /* log the violation as an error, and decline */
165 apr_table_setn(r->notes, "error-notes",
452 const char *error = NULL; local
454 error = apr_psprintf(f->r->pool,
458 error = apr_pstrcat(f->r->pool,
459 (etagfail ? "ETag syntax error (check quotes)" : ""),
465 handle_policy(f->r, result, error, conf->validation_url, bb,
/httpd/modules/proxy/
H A Dproxy_util.c307 * Returns an error string.
383 apr_table_setn(r->notes, "error-notes",
392 /* Allow "error-notes" string to be printed by ap_send_error_response() */
393 apr_table_setn(r->notes, "verbose-error-to", "*");
681 if (host == NULL) { /* some error was logged already */
2105 "%s: error creating fam %d socket for target %s",
2155 /* if an error occurred, loop round and try again */
2728 "%s: error creating Unix domain socket for "
2763 "%s: error creating fam %d socket for "
2834 /* if an error occurre
3276 const char *error; member in struct:header_connection
[all...]
/httpd/modules/mappers/
H A Dmod_rewrite.c1381 "rewritemap: error %s querying for %s", errmsg, key);
1399 "rewritemap: error %s looking up %s", errmsg, key);
1458 /* XXX: error handling */
1469 /* XXX: error handling */
2684 * (returns true on error)
3460 int error = 0; local
3475 ++error;
3502 ++error;
3534 ++error;
3545 ++error;
[all...]

Completed in 307 milliseconds