pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Hacking pan for Giganews


From: Heinrich Mueller
Subject: Re: [Pan-devel] Hacking pan for Giganews
Date: Sat, 20 Aug 2011 23:55:13 +0000 (UTC)
User-agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 9f6e291 master)

On Tue, 09 Aug 2011 16:35:28 -0500, Conrad J. Sabatier wrote:

> Hi.  I'm in the process of hacking the pan source code to take fuller
> advantage of my Giganews Diamond account (50 connections!, whoo boy!).
> 
> I've already modified pan/gui/server-ui.cc to allow me to set the
> server's config to 50 connections (that part was easy), but I'm looking
> now for how to hack pan's task management to do more simultaneous header
> downloads, binary file saves, etc.
> 
> Can anyone point me in the right direction?  I'll send back to the list
> anything I come up with, if anyone's interested.
> 
> Thanks!

The problem is pan's use of threads:
If you download one file, the data to be received will be split up on
the server. Pan downloads the parts simultaneously and puts them back
together. But only for one file at a time.
The rewrite would be huge I guess. As the maximum number of connections
can be reached anyway it isn't worth the effort imho.

Cheers.



-- 
roses are 0xff0000, violets are 0x0000ff, all my base are belong to you...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]