Menu

#36 Size mismatch, if address resolves into 2 differen't ips

closed
nobody
None
5
2012-09-28
2007-03-20
Anonymous
No

Not sure if this is a bug or a "feature". cria2c tries to download a file, if it can't find a *.aria2 file then it restarts the connection and passes it the file size. However, if the domain name resolves into two different ip addresses and the second one happens to be a different size then it spits out an error and quits.

What I'm wondering is if there's a way to get aria2c to not restart the connection again if its only using 1 mirror. Or if it can remember the address that it resolved originally, instead of re resolving it.

http://pastebin.archlinux.org/2020

^error log

Discussion

  • Ant Bryan

    Ant Bryan - 2007-04-20

    Logged In: YES
    user_id=1400528
    Originator: NO

    Submitter, I believe this bug was fixed in the last release.

    To cache resolved hostname:
    
    * src/AbstractCommand.h, src/AbstractCommand.cc
    (resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
    Added dns cache.
    
     
  • tujikawa

    tujikawa - 2007-08-27

    Logged In: YES
    user_id=1450148
    Originator: NO

    Fixed in the latest release. Let's close the issue.

     

Log in to post a comment.

MongoDB Logo MongoDB