Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 18:36:17 GMT
From:      Tom Prince <tom.prince@hybridcluster.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/186822: pkg bootstrap code fails when connecting to a server that provides a chunked response
Message-ID:  <201402161836.s1GIaHLS017424@cgiserv.freebsd.org>
Resent-Message-ID: <201402161840.s1GIe05B081626@freefall.freebsd.org>

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

>Number:         186822
>Category:       misc
>Synopsis:       pkg bootstrap code fails when connecting to a server that provides a chunked response
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 18:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tom Prince
>Release:        
>Organization:
HybridLogic
>Environment:
>Description:
If the provided PACKAGESITE is a server that provides a chunked response for /Latest/pkg.txz then the bootstrap code will ignore the response body and then fail to extract pkg-static from the empty archive.

(st.size is -1 with chunked so 
236 	while (done < st.size) {
is always false)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402161836.s1GIaHLS017424>