You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/10 10:41:28 UTC

cvs commit: apache-1.3/src/modules/test mod_rndchunk.c

dgaudet     98/03/10 01:41:28

  Modified:    src/modules/test mod_rndchunk.c
  Log:
  fix timeouts
  
  Revision  Changes    Path
  1.2       +3 -0      apache-1.3/src/modules/test/mod_rndchunk.c
  
  Index: mod_rndchunk.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/test/mod_rndchunk.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_rndchunk.c	1998/02/07 10:44:47	1.1
  +++ mod_rndchunk.c	1998/03/10 09:41:27	1.2
  @@ -108,6 +108,7 @@
   
       if (!r->chunked) {
   	rputs("Not chunked!", r);
  +	kill_timeout(r);
   	return 0;
       }
   
  @@ -115,6 +116,7 @@
       if (!args) {
   error:
   	rputs("Must include args! ... of the form <code>?seed,count</code>", r);
  +	kill_timeout(r);
   	return 0;
       }
       seed = strtol(args, &endptr, 0);
  @@ -143,6 +145,7 @@
   	    rputs(buf, r);
   	}
       }
  +    kill_timeout(r);
       return 0;
   }