You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2002/04/08 20:38:56 UTC

cvs commit: httpd-2.0/modules/proxy mod_proxy.c mod_proxy.h proxy_http.c

dougm       02/04/08 11:38:56

  Modified:    .        CHANGES
               modules/proxy mod_proxy.c mod_proxy.h proxy_http.c
  Log:
  Submitted by:	Daniel Lopez <da...@covalent.net>
  Reviewed by:	dougm, rbb
  add optional fixup hook to proxy
  
  Revision  Changes    Path
  1.694     +2 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.693
  retrieving revision 1.694
  diff -u -r1.693 -r1.694
  --- CHANGES	8 Apr 2002 16:57:05 -0000	1.693
  +++ CHANGES	8 Apr 2002 18:38:55 -0000	1.694
  @@ -1,5 +1,7 @@
   Changes with Apache 2.0.36
   
  +  *) add optional fixup hook to proxy [Daniel Lopez <da...@covalent.net>]
  +
     *) Remind the admin about the User and Group directives when we are
        unable to set permissions on a semaphore.  PR 7812  [Jeff Trawick]
   
  
  
  
  1.81      +3 -0      httpd-2.0/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.c,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- mod_proxy.c	7 Apr 2002 03:37:35 -0000	1.80
  +++ mod_proxy.c	8 Apr 2002 18:38:56 -0000	1.81
  @@ -1124,3 +1124,6 @@
   APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(proxy, PROXY, int, canon_handler, 
                                        (request_rec *r, char *url),(r,
                                        url),DECLINED)
  +APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(proxy, PROXY, int, fixups,
  +				    (request_rec *r), (r),
  +				    OK, DECLINED)
  
  
  
  1.80      +1 -0      httpd-2.0/modules/proxy/mod_proxy.h
  
  Index: mod_proxy.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.h,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- mod_proxy.h	7 Apr 2002 03:37:35 -0000	1.79
  +++ mod_proxy.h	8 Apr 2002 18:38:56 -0000	1.80
  @@ -247,6 +247,7 @@
                             char *url))
   
   APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, create_req, (request_rec *r, request_rec *pr))
  +APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, fixups, (request_rec *r)) 
   
   /* proxy_util.c */
   
  
  
  
  1.146     +1 -0      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.145
  retrieving revision 1.146
  diff -u -r1.145 -r1.146
  --- proxy_http.c	7 Apr 2002 03:37:35 -0000	1.145
  +++ proxy_http.c	8 Apr 2002 18:38:56 -0000	1.146
  @@ -547,6 +547,7 @@
       }
   
       /* send request headers */
  +    proxy_run_fixups(r);
       headers_in_array = apr_table_elts(r->headers_in);
       headers_in = (const apr_table_entry_t *) headers_in_array->elts;
       for (counter = 0; counter < headers_in_array->nelts; counter++) {