pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] 0.14 - attempted fix of the "freeze when connection is l


From: Alberto BARSELLA
Subject: Re: [Pan-users] 0.14 - attempted fix of the "freeze when connection is lost
Date: Wed, 14 May 2003 18:29:21 +0200
User-agent: Mutt/1.4.1i

Hi,

On Tue, 13 May 2003 at 10:22:43PM +0200, Christophe Lambin wrote:

I played around with this somewhat and found Pan more sluggish in reading
articles. Most likely enabling NONBLOCKING causes the first call to g_io_channel_read_line() to miss the data coming back from the server, causing a 1 second delay in the article being received.

It's definitely possible.
When I first tested this patch I added a log message every time
that EAGAIN is returned.  It happens, but not that often.  Anyway it's
true that depending on the bandwidth you have and the number of
simultanous open connections you set for a given server the download
speed may be affected.  What is your configuration?

Using g_usleep(G_USEC_PER_SEC/10) and setting
MAX_CONSECUTIVE_FAILED_OPERATIONS to 600 makes Pan more responsive.

Thoughts?

It's probably a good idea.

Bye,
Alberto
--
Alberto BARSELLA
** Beliefs are dangerous. Beliefs allow the mind to stop functioning.
A non-functioning mind is clinically dead.  Believe in nothing... **




reply via email to

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