Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 22nd, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default Returned "available ranges" headers for partially downloaded files

EDIT: Phex returns the correct headers for files I start to download. The other errors could be because of some problems in my config.

------
Hi,

I am testing coding for Gnutella via Python at the moment, and when trying to download an only partially downloaded file from Phex, I get the following headers:

Server: Phex 3.2.6.106
X-Available-Ranges: bytes

Shouldn't the available ranges header contain the available ranges? Means: If I didn't misunderstand something (and didn't jump to wrong conclusions), it should look like the following:

X-Available-Ranges: bytes=0-1,6-12,90-1200

Where is the error in my thinking?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.

Last edited by arne_bab; August 22nd, 2008 at 05:44 PM.
Reply With Quote
  #2 (permalink)  
Old August 23rd, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Phex returns
X-Available-Ranges: bytes
if there is no available range, but to indicate that partial download could be possible.
AFAIK Lime is acting or has been acting the same way.
See HTTPRangeSet.java Line 99
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.