Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 12:45:58 +0200
From:      "Radim Kolar SF.NET" <hsn@sendmail.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn-sf@sd.iol.cz
Subject:   www/138875: docs.freebsd.org sends incorrect HTTP/1.1 replies
Message-ID:  <E1Mns1O-0005IV-1t@sanatana.dharma>
Resent-Message-ID: <200909161050.n8GAo0lG031289@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138875
>Category:       www
>Synopsis:       docs.freebsd.org sends incorrect HTTP/1.1 replies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 10:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar SF.NET
>Release:        FreeBSD 6.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD sanatana.dharma 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #1: Tue Jun 9 11:43:11 CEST 2009 root@sanatana.dharma:/usr/obj/usr/src/sys/UP i386

>Description:
docs.freebsd.org apache sends incorrect HTTP/1.1 chunked replies. last zero
sized chunk is missing
	
>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.
	
>Fix:
        Try to upgrade Apache server
	
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Mns1O-0005IV-1t>