httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src http_protocol.c
Date Tue, 03 Dec 1996 18:43:24 GMT
fielding    96/12/03 10:43:23

  Modified:    src       http_protocol.c
  Log:
  Flag a side-effect.  Ugh.
  
  Revision  Changes    Path
  1.80      +5 -0      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -C3 -r1.79 -r1.80
  *** http_protocol.c	1996/12/01 20:28:31	1.79
  --- http_protocol.c	1996/12/03 18:43:21	1.80
  ***************
  *** 220,225 ****
  --- 220,230 ----
    	(!find_token(r->pool, conn, "close")) &&
    	((ka_sent = find_token(r->pool, conn, "keep-alive")) ||
    	 r->proto_num >= 1001)) {
  + 	/*
  + 	 * The (r->chunked = 1) in the above expression is a side-effect
  + 	 * that sets the output to chunked encoding if it is not already
  + 	 * length-delimited.  It is not a bug, though it is annoying.
  + 	 */
    	char header[26];
    	int left = r->server->keep_alive - r->connection->keepalives;
    	
  
  
  

Mime
View raw message