mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
Added many log numbers to log statements that
had none. Those were not detected by the coccinelle script. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -473,12 +473,14 @@ AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer,
|
||||
const char *msg = "Premature end of script headers";
|
||||
if (first_header)
|
||||
msg = "End of script output before headers";
|
||||
/* Intentional no APLOGNO */
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r,
|
||||
"%s: %s", msg,
|
||||
apr_filepath_name_get(r->filename));
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
else if (rv == -1) {
|
||||
/* Intentional no APLOGNO */
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r,
|
||||
"Script timed out before returning headers: %s",
|
||||
apr_filepath_name_get(r->filename));
|
||||
@ -586,6 +588,7 @@ AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer,
|
||||
}
|
||||
}
|
||||
|
||||
/* Intentional no APLOGNO */
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r,
|
||||
"malformed header from script '%s': Bad header: %.30s",
|
||||
apr_filepath_name_get(r->filename), w);
|
||||
@ -618,6 +621,7 @@ AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer,
|
||||
else if (!ap_casecmpstr(w, "Status")) {
|
||||
r->status = cgi_status = atoi(l);
|
||||
if (!ap_is_HTTP_VALID_RESPONSE(cgi_status))
|
||||
/* Intentional no APLOGNO */
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r,
|
||||
"Invalid status line from script '%s': %.30s",
|
||||
apr_filepath_name_get(r->filename), l);
|
||||
|
Reference in New Issue
Block a user