SoupCacheInputStream: new input stream filter that writes to the cache
authorSergio Villar Senin <svillar@igalia.com>
Mon, 30 Jul 2012 10:40:32 +0000 (12:40 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 18 Dec 2012 15:06:06 +0000 (16:06 +0100)
commitd12d25e3515b329f65da8f276965fe46c7c628ac
tree0824d6aa1588c3ff0a4d71590d5ae4876bf7ed19
parent38c13f1d28ee5e86dbdaf2e7a121fb0c148d41d1
SoupCacheInputStream: new input stream filter that writes to the cache

The SoupCacheInputStream will be added to the stream stack as any other
GPollableInputStream. It will transparently read data from the underlying
stream and will pass it unmodified to the upper level.

Apart from that the stream writes everything it reads to a local file. Once
the caching finishes a callback will be called. Caching may be cancelled at
any point by providing a GCancellable.

https://bugzilla.gnome.org/show_bug.cgi?id=682112
libsoup/Makefile.am
libsoup/soup-cache-input-stream.c [new file with mode: 0644]
libsoup/soup-cache-input-stream.h [new file with mode: 0644]
po/POTFILES.in