Op di 25-03-2003, om 23:07 schreef Raphael Manfredi:
> The code does not generate proper PARQ headers:
> 
> X-Queued: position=22; ID=-722853442853748; length=23 ETA=702408l lifetime=300
> 
> is wrong: there is no ";" separators between the latest args, and the ID should
> be displayed in hexadecimal, and be unsigned.

The separator is fixed locally. 
However, Why isn't it allowed to have an int as ID? 

> Also I have 3 slots, and I had only one running uplaod, but GTKG was rejecting
> the uploads with "too many uploads (3 max)" messages.  Clearly not correct.

Well yes and no. There are multiple queues, depending on the number of
upload slots so people who are requesting one small file don't need to
wait for one downloading a rather large file.
At the moment always one slot is reserved extra. But I will change it. I
noticed it too, and I rarely have all 3 queues filled.

> 
> I further believe the HTTP header should not be:
> 
>     HTTP/1.1 503 Too many uploads (3 max) Queued at: 22, ETA: 8d 3h
> 
> but rather:
> 
>     HTTP/1.1 503 Queued (slot 22 / 45, ETA: 8d 3h)

I'll change that too.

- Jeroen



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to