Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 get_url doesn't work

closed-fixed
nobody
None
5
2006-05-27
2006-05-17
Gary Coady
No

As a follow-up to
http://sourceforge.net/tracker/index.php?func=detail&aid=1490450&group_id=93129&atid=603214
(sorry I didn't log in for that), enabling looking at
the details of the torrent file for the file details
makes it more obvious that get_url() doesn't work very
well.

It assumes that a gnomevfs read() returns as much as it
can, but in fact it may return a lot less. As long as
it returns any data at all, you can keep asking for more.

Without this patch, I couldn't read a 14KiB torrent
file from a remote HTTP server.

Discussion

  • Gary Coady
    Gary Coady
    2006-05-17

    Loop around to get all torrent file contents

     
    Attachments
  • Paul Varga
    Paul Varga
    2006-05-27

    Logged In: YES
    user_id=224151

    The first suggestion was implemented a long while ago, but
    then partly broken, and hopefully fixed with this release
    (0.0.23).

    The second is fixed with this release.

     
  • Paul Varga
    Paul Varga
    2006-05-27

    • status: open --> closed-fixed