/[Apache-SVN]
ViewVC logotype

Revision 85379


Jump to revision: Previous Next
Author: trawick
Date: Fri Jun 2 15:55:20 2000 UTC (23 years, 10 months ago)
Changed paths: 3
Log Message:
APACHE_XLATE, when doing translation that isn't single-byte-only

We must zap the Content-length header (if any).  Otherwise, the
browser will be seriously confused :)  The header is zapped in
ap_set_keepalive() right before we look for Content-length, transfer
encoding, HTTP level, etc. to decide, among other issues, whether or
not to turn on chunked encoding.  For HTTP 1.1, if we don't send
Content-length, we need to use chunked encoding, so we have to zap
the header before that decision.

Interestingly, in Russian Apache the Content-length header is
zapped after ap_set_keepalive() is called, so with HTTP 1.1 they
break the content-length-or-chunked rule.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/include/httpd.h modified , text changed , props changed
Directoryhttpd/httpd/trunk/modules/http/http_protocol.c modified , text changed , props changed
Directoryhttpd/httpd/trunk/server/util_charset.c modified , text changed , props changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26