Re: Hacking pan for Giganews

Heinrich Mueller <[email protected]>
Newsgroups gmane.comp.gnome.apps.pan.devel
Message-ID <[email protected]>
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...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.