Correcting data errors caused by HTTP 1.1 chunking under Apache.

Problem:
The HTTP 1.1 specification allows responses to be broken up into two or more "chunks" of data. When these chunks are recombined in the client receive buffer, some additional characters (which contain the chunk sizes) remain in the buffer, mingled in with the data. Jargon Reader does not handle this correctly in versions 3.3.32 and older.
Solution:
Until a new version of Jargon Reader is available that corrects this problem, a workaround under the Apache web server (the only web server where this problem has been reported) is as follows.

Add the following line to Apache's httpd.conf file, then restart Apache.

BrowserMatch "Jargon" downgrade-1.0

This forces Apache to send an HTTP 1.0 response anytime it receives a request from Jargon Reader. Chunking isn't part of the HTTP 1.0 specification, so it avoids the problem.

Article Details

Article ID:
12
Category:
Date added:
2010-12-07 20:33:42
Views:
539
Rating (Votes):
(624)