Bug 138875

Summary: docs.freebsd.org sends incorrect HTTP/1.1 replies
Product: Documentation Reporter: Radim Kolar <hsn>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me CC: hsn-sf
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Radim Kolar 2009-09-16 11:50:00 UTC
docs.freebsd.org apache sends incorrect HTTP/1.1 chunked replies. last zero
sized chunk is missing

Fix: 

Try to upgrade Apache server
How-To-Repeat: Use page similar to this:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=23452+0+archive/2009/svn-src-stable/20090913.svn-src-stable
start wireshark, capture packets and then select follow TCP stream.

Reply header is:
HTTP/1.1 200 OK
Date: Wed, 16 Sep 2009 10:29:42 GMT
Server: Apache/1.3.x Sausalito (Unix)
Last-Modified: Sun, 13 Sep 2009 03:50:45 GMT
Content-Type: text/html
Transfer-Encoding: chunked

chunked encoding reqires to send size + '\r\n' and last chunk must have 0 size.
In server reply last zero sized chunk is missing which is violation of
HTTP/1.1 standard.
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2009-09-16 13:07:41 UTC
State Changed
From-To: open->closed

Duplicate of 116660. Thanks for the Report!