httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_util.c
Date Wed, 28 Nov 2001 21:07:32 GMT
ianh        01/11/28 13:07:32

  Modified:    .        CHANGES
               modules/proxy proxy_util.c
  Log:
  make the proxy code spit out an error to the error log.
  This bit me when I included a 11th file no error message, nothing.
  
  Revision  Changes    Path
  1.460     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.459
  retrieving revision 1.460
  diff -u -r1.459 -r1.460
  --- CHANGES	2001/11/27 22:14:30	1.459
  +++ CHANGES	2001/11/28 21:07:31	1.460
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.30-dev
   
  +  *) On a error in the proxy, make it write a line to the error log
  +     [Ian Holsman]
  +
   Changes with Apache 2.0.29
   
     *) Add buffering in core_output_filter to ensure that long
  
  
  
  1.73      +2 -0      httpd-2.0/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_util.c,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- proxy_util.c	2001/10/16 14:45:56	1.72
  +++ proxy_util.c	2001/11/28 21:07:32	1.73
  @@ -588,6 +588,8 @@
       apr_table_setn(r->notes, "verbose-error-to", apr_pstrdup(r->pool, "*"));
   
       r->status_line = apr_psprintf(r->pool, "%3.3u Proxy Error", statuscode);
  +    ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, r,
  +			 "proxy: %s returned by %s", message, r->uri);
       return statuscode;
   }
   
  
  
  

Mime
View raw message