httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apache-1.3/src/main http_protocol.c
Date Mon, 29 Mar 2004 17:38:02 GMT
jim         2004/03/29 09:38:02

  Modified:    src/main http_protocol.c
  Log:
  This path makes sense only in non-keepalive modes
  
  Revision  Changes    Path
  1.333     +1 -1      apache-1.3/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
  retrieving revision 1.332
  retrieving revision 1.333
  diff -u -r1.332 -r1.333
  --- http_protocol.c	16 Feb 2004 22:29:33 -0000	1.332
  +++ http_protocol.c	29 Mar 2004 17:38:01 -0000	1.333
  @@ -976,7 +976,7 @@
        */
       ap_bsetflag(conn->client, B_SAFEREAD, 1);
       while ((len = ap_getline(l, sizeof(l), conn->client, 0)) <= 0) {
  -        if ((len < 0) || ap_bgetflag(conn->client, B_EOF)) {
  +        if ((len < 0) || ap_bgetflag(conn->client, B_EOF) || !conn->keepalives)
{
               ap_bsetflag(conn->client, B_SAFEREAD, 0);
   	    /* this is a hack to make sure that request time is set,
   	     * it's not perfect, but it's better than nothing 
  
  
  

Mime
View raw message