mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
Log the value of Status header lines in script responses rather than
than just the fixed header name of "Status". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1362538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -592,11 +592,11 @@ AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer,
|
||||
if (!ap_is_HTTP_VALID_RESPONSE(cgi_status))
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_ERR|APLOG_TOCLIENT, 0, r,
|
||||
"Invalid status line from script '%s': %s",
|
||||
apr_filepath_name_get(r->filename), w);
|
||||
apr_filepath_name_get(r->filename), l);
|
||||
else
|
||||
ap_log_rerror(SCRIPT_LOG_MARK, APLOG_TRACE1, 0, r,
|
||||
"Status line from script '%s': %s",
|
||||
apr_filepath_name_get(r->filename), w);
|
||||
apr_filepath_name_get(r->filename), l);
|
||||
r->status_line = apr_pstrdup(r->pool, l);
|
||||
}
|
||||
else if (!strcasecmp(w, "Location")) {
|
||||
|
Reference in New Issue
Block a user