httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_example.c
Date Sat, 13 Oct 2001 01:53:46 GMT
dougm       01/10/12 18:53:46

  Modified:    modules/experimental mod_example.c
  Log:
  x_handler() was not checking r->handler, leaving it to handle every request
  
  Revision  Changes    Path
  1.26      +4 -0      httpd-2.0/modules/experimental/mod_example.c
  
  Index: mod_example.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_example.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_example.c	2001/08/06 21:36:32	1.25
  +++ mod_example.c	2001/10/13 01:53:46	1.26
  @@ -533,6 +533,10 @@
   {
       x_cfg *dcfg;
   
  +    if (strcmp(r->handler, "example-handler")) {
  +        return DECLINED;
  +    }
  +
       dcfg = our_dconfig(r);
       trace_add(r->server, r, dcfg, "x_handler()");
       /*
  
  
  

Mime
View raw message