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 07:15:00 UTC

cvs commit: apache-1.2/src CHANGES http_protocol.c

dgaudet     98/03/09 22:14:59

  Modified:    src      CHANGES http_protocol.c
  Log:
  rputs() did not calculate r->sent_bodyct properly.
  
  PR:		1900
  Submitted by:	Siegmund Stirnweiss <si...@kat.ina.de>
  
  Revision  Changes    Path
  1.299     +7 -0      apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.298
  retrieving revision 1.299
  diff -u -r1.298 -r1.299
  --- CHANGES	1998/02/21 12:25:40	1.298
  +++ CHANGES	1998/03/10 06:14:56	1.299
  @@ -1,3 +1,10 @@
  +Changes with Apache 1.2.7
  +
  +  *) rputs() did not calculate r->sent_bodyct properly.
  +     [Siegmund Stirnweiss <si...@kat.ina.de>] PR#1900
  +
  +  *) Handle \\ properly inside quoted strings.  [Ronald.Tschalaer@psi.ch]
  +
   Changes with Apache 1.2.6
   
     *) Increase the robustness of the child_main loop.  When unexpected
  
  
  
  1.132     +4 -1      apache-1.2/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/http_protocol.c,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- http_protocol.c	1998/02/03 09:53:49	1.131
  +++ http_protocol.c	1998/03/10 06:14:57	1.132
  @@ -1713,9 +1713,12 @@
   
   int rputs(const char *str, request_rec *r)
   {
  +    int rcode;
  +
       if (r->connection->aborted) return EOF;
  +    rcode = bputs(str, r->connection->client);
       SET_BYTES_SENT(r);
  -    return bputs(str, r->connection->client);
  +    return rcode;
   }
   
   int rwrite(const void *buf, int nbyte, request_rec *r)