After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303194 - Feeds don't update on mono-1.1.7
Feeds don't update on mono-1.1.7
Status: RESOLVED FIXED
Product: blam
Classification: Other
Component: Feeds
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Mikael Hallendal
Mikael Hallendal
Depends on:
Blocks:
 
 
Reported: 2005-05-06 00:43 UTC by Peter Johanson
Modified: 2005-05-06 07:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to FeedUpdater.cs (858 bytes, patch)
2005-05-06 00:44 UTC, Peter Johanson
none Details | Review

Description Peter Johanson 2005-05-06 00:43:52 UTC
Distribution/Version: Gentoo

After upgrading to mono-1.1.7, all my feeds in blam stopped updating. This
affects both 1.6.1 and CVS.

Tracked it down to a silently caught exception in src/FeedUpdater.cs. Seems that
doing WebRequest.Headers.Add ("If-Modified-Since", foo) is a no-no.

The patch which I'm about to add fixes this, by casting the WebRequest to an
HttpWebRequest and using the IfModifiedSince property. Patch applies to current CVS.
Comment 1 Peter Johanson 2005-05-06 00:44:36 UTC
Created attachment 46073 [details] [review]
Patch to FeedUpdater.cs

This patch uses the IfModifiedSince property instead of trying to add to the
Header collection.
Comment 2 Mikael Hallendal 2005-05-06 07:56:30 UTC
Thanks, commited to CVS.