brian 96/11/23 12:51:47
Modified: src http_protocol.c
Log:
Reviewed by: Brian Behlendorf, others
Submitted by: Rob Hartill
Fixed mistaken byte counting in server-side includes.
Revision Changes Path
1.76 +2 -1 apache/src/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -C3 -r1.75 -r1.76
*** http_protocol.c 1996/11/14 07:35:49 1.75
--- http_protocol.c 1996/11/23 20:51:45 1.76
***************
*** 971,977 ****
char *default_type = dir_conf->default_type;
if (r->assbackwards) {
! bsetopt(fd, BO_BYTECT, &zero);
r->sent_bodyct = 1;
return;
}
--- 971,978 ----
char *default_type = dir_conf->default_type;
if (r->assbackwards) {
! if(!r->main)
! bsetopt(fd, BO_BYTECT, &zero);
r->sent_bodyct = 1;
return;
}