rbb 00/11/03 14:35:56
Modified: src/main http_protocol.c
Log:
Sub requests should never get into the http headers filter, so we remove
the check for it, and through in an ASSERT.
Revision Changes Path
1.225 +2 -2 apache-2.0/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
retrieving revision 1.224
retrieving revision 1.225
diff -u -r1.224 -r1.225
--- http_protocol.c 2000/11/03 17:34:59 1.224
+++ http_protocol.c 2000/11/03 22:35:52 1.225
@@ -2328,9 +2328,9 @@
apr_size_t len = 0;
header_struct h;
+ AP_DEBUG_ASSERT(!r->main);
+
if (r->assbackwards) {
- if (!r->main)
- ap_bsetopt(r->connection->client, BO_BYTECT, &zero);
r->sent_bodyct = 1;
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, b);
|