summaryrefslogtreecommitdiff
path: root/content/llcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #3055480: properly compare URLs, instead of erroneously assuming ↵John Mark Bell2010-08-291-2/+6
| | | | | | that strcasecmp is the correct answer. svn path=/trunk/netsurf/; revision=10721
* Less spamJohn Mark Bell2010-08-101-2/+8
| | | | svn path=/trunk/netsurf/; revision=10687
* Rate-limit cache clean attemptsJohn Mark Bell2010-08-101-2/+13
| | | | svn path=/trunk/netsurf/; revision=10686
* Enable noisy loggingJohn Mark Bell2010-07-171-1/+1
| | | | svn path=/trunk/netsurf/; revision=10650
* Clean up caches on exitJohn Mark Bell2010-04-271-0/+42
| | | | svn path=/trunk/netsurf/; revision=10494
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-241-1/+0
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* Avoid double free when shrink-wrapping source data on fetch completion.John Mark Bell2010-04-171-1/+2
| | | | svn path=/trunk/netsurf/; revision=10423
* When the fetch system informs its clients that certificate verification has ↵John Mark Bell2010-04-161-2/+1
| | | | | | | | failed, it has already stopped and cleaned up the fetch. Stop llcache_fetch_cert_error attempting to abort the fetch, as this will result in a double free. svn path=/trunk/netsurf/; revision=10418
* Provide API to invalidate llcache object cache control dataJohn Mark Bell2010-04-161-0/+11
| | | | svn path=/trunk/netsurf/; revision=10411
* Reset fetch state when refetching object.John Mark Bell2010-04-161-7/+11
| | | | | | Ensure that cache control data is invalidated for 401/certificate failure so that conditional headers are not emitted when object is refetched. svn path=/trunk/netsurf/; revision=10408
* Improve 401 response handlingJohn Mark Bell2010-04-161-28/+50
| | | | svn path=/trunk/netsurf/; revision=10407
* Ensure we invalidate cache data and mark objects as complete on failure to ↵John Mark Bell2010-04-141-3/+26
| | | | | | fetch. svn path=/trunk/netsurf/; revision=10402
* Eat any #fragment in llcache_object_retrieve -- fixing double-fragment ↵Daniel Silverstone2010-04-141-5/+20
| | | | | | issues at the top level, and preventing fragment(ed) redirects from confusing the issue svn path=/trunk/netsurf/; revision=10399
* Abstract a number of unsafe iterations of object users into a single safe ↵Daniel Silverstone2010-04-141-63/+55
| | | | | | function call svn path=/trunk/netsurf/; revision=10398
* Shrink source buffer to final length on fetch completionJohn Mark Bell2010-04-111-0/+12
| | | | svn path=/trunk/netsurf/; revision=10373
* Pedantic whitespace changesJohn Mark Bell2010-04-111-5/+10
| | | | svn path=/trunk/netsurf/; revision=10356
* Complete low-level cache cleanerJohn Mark Bell2010-04-111-2/+32
| | | | svn path=/trunk/netsurf/; revision=10355
* Remove redundant todoJohn Mark Bell2010-04-111-1/+0
| | | | svn path=/trunk/netsurf/; revision=10354
* Support 307 redirects for GET requestsJohn Mark Bell2010-04-111-2/+2
| | | | svn path=/trunk/netsurf/; revision=10353
* Forbid redirects to file:/// URLsJohn Mark Bell2010-04-111-1/+15
| | | | svn path=/trunk/netsurf/; revision=10352
* Bail out if we're redirected to an URL we can't handleJohn Mark Bell2010-04-111-1/+5
| | | | svn path=/trunk/netsurf/; revision=10351
* Reintroduce redirect limitJohn Mark Bell2010-04-111-27/+59
| | | | svn path=/trunk/netsurf/; revision=10350
* Remove redundant todosJohn Mark Bell2010-04-111-4/+0
| | | | svn path=/trunk/netsurf/; revision=10349
* Improve const-correctness of fetch_startJohn Mark Bell2010-04-101-3/+1
| | | | svn path=/trunk/netsurf/; revision=10342
* Use computed POST data when redirecting, instead of original.John Mark Bell2010-04-101-2/+1
| | | | | | Certain redirect methods result in POST being converted to GET. svn path=/trunk/netsurf/; revision=10339
* Some more asserts to try and help spot multiple-release of llcache handlesDaniel Silverstone2010-04-091-4/+16
| | | | svn path=/trunk/netsurf/; revision=10327
* Fix missing 'break' introduced by 10300Daniel Silverstone2010-04-081-0/+1
| | | | svn path=/trunk/netsurf/; revision=10304
* Add an assert to clarify a segfault I'm investigatingDaniel Silverstone2010-04-081-0/+2
| | | | svn path=/trunk/netsurf/; revision=10303
* Remove todo -- no longer appropriateDaniel Silverstone2010-04-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=10302
* Ensure an error'd fetch's llcache object is implicitly stale so it is not reusedDaniel Silverstone2010-04-081-1/+3
| | | | svn path=/trunk/netsurf/; revision=10301
* Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in ↵Daniel Silverstone2010-04-081-3/+0
| | | | | | llcachec. svn path=/trunk/netsurf/; revision=10300
* Remove parent from fetches, clearing a todo from llcache.cDaniel Silverstone2010-04-081-1/+0
| | | | svn path=/trunk/netsurf/; revision=10299
* When we've snapshotted an object, make sure we add the *new* object into the ↵John Mark Bell2010-04-081-1/+2
| | | | | | list of uncacheable objects, and not the old one. Otherwise, our cache chains end up being corrupted. svn path=/trunk/netsurf/; revision=10295
* Make downloads work again.John Mark Bell2010-04-051-7/+59
| | | | svn path=/trunk/netsurf/; revision=10243
* Most of a stop implementation.John Mark Bell2010-04-041-33/+146
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been ↵John Mark Bell2010-03-301-1/+1
| | | | | | | | destroyed. Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback(). svn path=/trunk/netsurf/; revision=10218
* Disable llcache tracingJohn Mark Bell2010-03-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=10201
* Fix broken linked list removal.John Mark Bell2010-03-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=10200
* Forbid contents with active fetches from being cleaned.John Mark Bell2010-03-291-3/+5
| | | | svn path=/trunk/netsurf/; revision=10199
* Exceptionally verbose tracing of llcache operation.John Mark Bell2010-03-291-6/+99
| | | | svn path=/trunk/netsurf/; revision=10198
* Fixup per reviewJohn Mark Bell2010-03-281-70/+9
| | | | svn path=/trunk/netsurf/; revision=10196
* Allow us to cache foo?bar when it explicitly allows it. as per rfc2616 13.9Daniel Silverstone2010-03-281-8/+15
| | | | svn path=/trunk/netsurf/; revision=10190
* Ensure that finished redirection objects in llcache do not get found by ↵Daniel Silverstone2010-03-281-1/+6
| | | | | | subsequent fetch attempts. svn path=/trunk/netsurf/; revision=10188
* Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to ↵Daniel Silverstone2010-03-281-56/+58
| | | | | | complete properly. svn path=/trunk/netsurf/; revision=10187
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-0/+1815
svn path=/trunk/netsurf/; revision=10180