diff options
author | Bill Stoddard <stoddard@apache.org> | 2002-06-04 21:01:05 +0200 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2002-06-04 21:01:05 +0200 |
commit | cef791d3e802c15ce11d52cdeb7cfaf025729fc5 (patch) | |
tree | 64c28161aed500f425e9a0ea425aca3f41832d60 /include/http_log.h | |
parent | Allow ap_discard_request_body to be called multiple times in the (diff) | |
download | apache2-cef791d3e802c15ce11d52cdeb7cfaf025729fc5.tar.xz apache2-cef791d3e802c15ce11d52cdeb7cfaf025729fc5.zip |
Update comments for Stas Bekman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95506 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_log.h')
-rw-r--r-- | include/http_log.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/http_log.h b/include/http_log.h index e8dd1375e9..ba84947972 100644 --- a/include/http_log.h +++ b/include/http_log.h @@ -107,8 +107,17 @@ extern "C" { */ #define APLOG_NOERRNO (APLOG_LEVELMASK + 1) -/* Use APLOG_TOCLIENT to cause ap_log_rerror() to send the message - * to the client in addition to recording it to the error log. +/* Use APLOG_TOCLIENT on ap_log_rerror() to give content + * handlers the option of including the error text in the + * ErrorDocument sent back to the client. Setting APLOG_TOCLIENT + * will cause the error text to be saved in the request_rec->notes + * table, keyed to the string "error-notes", iff: + * - the severity level of the message is APLOG_WARNING or greater + * - there are no other "error-notes" set in request_rec->notes + * Once error-notes is set, it is up to the content handler to + * determine whether this text should be send back to the client. + * Note: Client generated text streams sent back to the client MUST + * be escaped to prevent CSS attacks. */ #define APLOG_TOCLIENT (APLOG_LEVELMASK + 2) |