Re: Hacking pan for Giganews

"Conrad J. Sabatier" <[email protected]>
Newsgroups gmane.comp.gnome.apps.pan.devel
Message-ID <[email protected]>
On Sat, 20 Aug 2011 23:55:13 +0000 (UTC)
Heinrich Mueller <[email protected]> wrote:

> 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.

Yes, further observation of the task queue bears out what you're
saying.  It's actually not at all unsatisfactory to me, so I'll just
leave well enough alone.  :-)  My earlier impressions of how pan was
subdividing the labor were incorrect.

Cheers back at you.

-- 
Conrad J. Sabatier
[email protected]
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.