Package: liferea
Version: 0.9.4-1

The network timeout in liferea is sometimes too low for feeds that
take a long time to send data. 

For example, I'm subscribed to
<http://svn.debian.org/wsvn/d-i/trunk/?op=rss&rev=0&sc=0&isdir=1> for
commit messages to the d-i repository. Sometimes the WebSVN feed takes
very long to reply and liferea shows a 404 error.

I've been setting NET_TIMEOUT to 60 seconds using attached patch and
this seems to be working fine. I have no idea whether it could bring
unwanted side effects, but it worked for me during the last two days.

cheers,
Max
--- liferea-0.9.4/src/net/netio.c~      2005-08-16 21:28:00.000000000 +0200
+++ liferea-0.9.4/src/net/netio.c       2005-08-16 21:28:11.000000000 +0200
@@ -63,7 +63,7 @@
 #include "../update.h"
 
 static int const MAX_HTTP_REDIRECTS = 10;      /* Maximum number of redirects 
we will follow. */
-static int const NET_TIMEOUT = 30;                     /* Global network 
timeout in sec */
+static int const NET_TIMEOUT = 60;                     /* Global network 
timeout in sec */
 static int const NET_READ = 1;
 static int const NET_WRITE = 2;
 

Reply via email to