dgaudet     98/03/06 00:52:02

  Modified:    src      CHANGES
               src/modules/standard mod_mime_magic.c
  Log:
  Slight mistake in mod_mime_magic.  If you tried to request a 0-length file
  it would return DONE all the way back to the core... which would interpret
  that to mean "oh no need to send any response".
  
  Revision  Changes    Path
  1.690     +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.689
  retrieving revision 1.690
  diff -u -r1.689 -r1.690
  --- CHANGES   1998/03/06 07:50:55     1.689
  +++ CHANGES   1998/03/06 08:51:58     1.690
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b6
   
  +  *) Fix bug with mod_mime_magic causing certain files, including files
  +     of length 0, to result in no response from the server.
  +     [Dean Gaudet]
  +
     *) The Configure script now generates src/include/ap_config.h which
        contains the set of defines used when Apache is compiled on a platform.
        This file can then be included by external modules before including
  
  
  
  1.26      +1 -1      apache-1.3/src/modules/standard/mod_mime_magic.c
  
  Index: mod_mime_magic.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_mime_magic.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_mime_magic.c  1998/02/18 20:44:19     1.25
  +++ mod_mime_magic.c  1998/03/06 08:52:01     1.26
  @@ -844,7 +844,7 @@
       switch ((result = fsmagic(r, r->filename))) {
       case DONE:
        magic_rsl_putchar(r, '\n');
  -     return result;
  +     return OK;
       case OK:
        break;
       default:
  
  
  

Reply via email to