httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_util.c
Date Sat, 09 Jun 2001 10:36:11 GMT
orlikowski    01/06/09 03:36:10

  Modified:    src/modules/proxy proxy_util.c
  Log:
  Allow Server response headers to be logged via the proxy.
  PR: #7461
  Submitted by: patrik@netdive.com
  Reviewed by: Victor Orlikowski
  
  Revision  Changes    Path
  1.98      +1 -0      apache-1.3/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- proxy_util.c	2001/03/16 07:01:23	1.97
  +++ proxy_util.c	2001/06/09 10:36:03	1.98
  @@ -1273,6 +1273,7 @@
   	value = "";
       if (!parm->req->assbackwards)
   	ap_rvputs(parm->req, key, ": ", value, CRLF, NULL);
  +    ap_table_add(parm->req->headers_out, key, value);
       if (parm->cache != NULL && parm->cache->fp != NULL &&
   	ap_bvputs(parm->cache->fp, key, ": ", value, CRLF, NULL) == -1) {
   	    ap_log_rerror(APLOG_MARK, APLOG_ERR, parm->cache->req,
  
  
  

Mime
View raw message