soup-cache: fix a warning (and a bug)
authorDan Winship <danw@gnome.org>
Tue, 25 Jan 2011 17:23:08 +0000 (12:23 -0500)
committerDan Winship <danw@gnome.org>
Mon, 31 Jan 2011 21:33:33 +0000 (16:33 -0500)
commitd9bf1c08c846196c4c2932a1f56402614d4d19fe
tree6bc01b7dc9b7e6c4bd061a7fdb9615cee891e271
parentea5b7457064727ae96b97ca5ad93d23cee1ba12e
soup-cache: fix a warning (and a bug)

If a request specifies "Cache-Control: max-age=0", revalidate the
response, but don't mark the cache entry as "must_revalidate", since
the need for revalidation applies only to the current request.

https://bugzilla.gnome.org/show_bug.cgi?id=640556
libsoup/soup-cache.c