bugFreeciv - Bugs: bug #18369, freeciv-modpack fails to handle...

Show feedback again

bug #18369: freeciv-modpack fails to handle HTTP Transfer-Encoding: chunked?

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sun Jul 17 19:02:02 2011  
Category: module installerSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: S2_3 "2011-07-17"Operating System: Any
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue May 20 20:18:36 2014, comment #3:

We no longer support 2.3.
Claimed as "fixed" by moving to libcurl in 2.4.

Jacob Nevins <jtn>
Project Administrator
Mon Jul 18 21:47:45 2011, comment #2:

Yes, trunk looks healthier. (Hacked-up modpack using svn.gna.org at http://tartarus.org/~jacob/junk/20110718/amplio.modpack)

(Goes a lot quicker than S2_3, too!)

Jacob Nevins <jtn>
Project Administrator
Sun Jul 17 20:35:26 2011, comment #1:

I hope TRUNK is not affected. After all, avoidance of any problems like this was one of the main reasons we switched from our own transfer code to using libcurl.

Marko Lindqvist <cazfi>
Project Administrator
Sun Jul 17 19:02:02 2011, original submission:

When I point freeciv-modpack at the following modpack:


which, at time of writing, points to svn.gna.org (see task 7246), the downloaded content is corrupted compared to the same content fetched manually with wget.

The corruption looks a lot like HTTP "chunked" transfer encoding. For instance, amplio/water.spec:

(where "^M" is a CR character).

Fetching from svn.gna.org is particularly likely to trigger this, since the content is served dynamically, which makes using chunked transfer make more sense. Moving the Amplio content to download.gna.org might mask the problem in this case. However, presumably, in principle any server could decide to use this at any time.

I've seen the same behaviour on Windows (cproc's S2_3 build from patch #2812) and Ubuntu Linux (an older S2_3 build, don't have exact version to hand).

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue May 20 20:18:36 2014jtnStatusNone=>Fixed
    Sun Jul 17 19:16:56 2011jtnSummaryfreeciv-modpack fails to handle Content-Transfer-Encoding: chunked?=>freeciv-modpack fails to handle HTTP Transfer-Encoding: chunked?
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup