You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2002/06/04 21:01:06 UTC

cvs commit: httpd-2.0/include http_log.h

stoddard    2002/06/04 12:01:05

  Modified:    include  http_log.h
  Log:
  Update comments for Stas Bekman
  
  Revision  Changes    Path
  1.38      +11 -2     httpd-2.0/include/http_log.h
  
  Index: http_log.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_log.h,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- http_log.h	23 May 2002 12:19:09 -0000	1.37
  +++ http_log.h	4 Jun 2002 19:01:05 -0000	1.38
  @@ -107,8 +107,17 @@
    */
   #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)