Bug 94219

Summary: Proxy-Cache won't refresh. Can fetch new feeds via wwwoffle only one time.
Product: [Applications] akregator Reporter: Tobias R. <le.petit.fou>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.0-beta8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tobias R. 2004-12-01 15:43:43 UTC
Version:           1.0-beta8 (using KDE 3.3.1, Gentoo)
Compiler:          gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)
OS:                Linux (i686) release 2.6.9-gentoo-r6

I'am using wwwoffle as system wide proxy. When I go online  I can fetch new feeds (as aspected) but when try to fetch new feeds later, I have to switch my wwwoffle offline und online afterwards.

Akregator seems to not request for a proxy refresh, even if I try it many times.

It is believed to be not a wwwoffle problem, beause websites refreshes are no problem with konqueror.

My wish is, to fetch new feeds without restarting/(re-online-ing) my wwwoffle.
Comment 1 Teemu Rytilahti 2004-12-01 17:18:19 UTC
Yep, I have also seen this. It works if you disable cache from Konq's settings. Maybe we should disable caching completely for feed fetching?
Comment 2 George Staikos 2004-12-01 22:45:29 UTC
I agree.  the fix is setMetaData("no-cache", "true");
Comment 3 Teemu Rytilahti 2004-12-02 15:53:16 UTC
CVS commit by rytilahti: 

Don't use cache for fetching feeds, that was easy one
BUG:94219


  M +4 -2      loader.cpp   1.14


--- kdenonbeta/akregator/src/librss/loader.cpp  #1.13:1.14
@@ -72,5 +72,5 @@ void FileRetriever::retrieveData(const K
        u.setProtocol("http");
 
-   d->job = KIO::get(u, false, false);
+   d->job = KIO::get(u, true, false);
    connect(d->job, SIGNAL(data(KIO::Job *, const QByteArray &)),
                 SLOT(slotData(KIO::Job *, const QByteArray &)));
@@ -364,6 +364,8 @@ void Loader::discoverFeeds(const QByteAr
     }
     
-    if (s2.isNull())
+    if (s2.isNull()) {
+        kdDebug() << "No feed found for a site" << endl;
         return;
+    }
 
     if (KURL::isRelativeURL(s2))