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 17 Jul 2011 07:02:02 PM UTC  
 
Category: module installerSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: S2_3 "2011-07-17"Operating System: Any
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 18 Jul 2011 09:47:45 PM UTC, 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 17 Jul 2011 08:35:26 PM UTC, 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 17 Jul 2011 07:02:02 PM UTC, original submission:

When I point freeciv-modpack at the following modpack:

http://www.cazfi.net/freeciv/modinst/2.3/amplio.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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Jul 2011 07:16:56 PM UTCjtnSummaryfreeciv-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