summaryrefslogtreecommitdiff
path: root/content/llcache.h
Commit message (Collapse)AuthorAgeFilesLines
* Excise the llcache query pathway.Daniel Silverstone2019-08-051-71/+5
| | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Migrate SSL certificate storage to the browser windowDaniel Silverstone2019-08-051-0/+5
| | | | | | | | | | * Fetchers now provide the certificates before headers * This is propagated all the way to the browser window * When a query occurs, we retrieve it from there and fire the query with those stored certificates. * The serial number is a bignum, store it as hex. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* llcache.h: Migrate query event to own struct typeDaniel Silverstone2019-08-041-5/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Migrate query dispatch up from llcache to hlcacheDaniel Silverstone2019-08-031-39/+52
| | | | | | | | | | | | As a first step in refactoring query handling to be managed by `browser_window`, this migrates the calling of the query handler from the llcache object code up to the hlcache. In theory this may result in multiple queries happening for one object, but we mitigate multiple-responses in the llcache so all should be well. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* reduce unecessary usage of content headersVincent Sanders2016-06-061-1/+1
|
* Add support for retrying timed-out cURL fetches.Daniel Silverstone2015-11-101-0/+3
| | | | | | | | | | | | | This is an attempt to amelioriate the situation found in #2384 where we see the cURL connect() failing to complete. Based on the pcap from the bug log, we believe that RISC OS is likely failing to signal the completion of the connection to cURL. As such, cURL times out. This change permits retries of timed out connections in the hope that a fresh socket FD might subsequently function correctly. The defaults chosen mean that the previous behaviour of 30 seconds before timeout is reported will remain the same, but in that time we will make 3 separate attempts to connect the socket.
* Improve llcache writeout stratagyVincent Sanders2014-11-281-6/+15
|
* Doxygen cleanupsVincent Sanders2014-11-091-2/+1
|
* clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-7/+0
|
* attempt to purge low level cache on out of memory during fetchVincent Sanders2014-05-291-3/+7
|
* Extend low level source data cache with persistant storageVincent Sanders2014-05-131-12/+80
|
* Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵Michael Drake2013-05-271-0/+6
| | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
* Make llcache_handle_get_url return a nsurl.Michael Drake2011-09-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=12905
* Port llcache to nsurl.Michael Drake2011-09-281-3/+4
| | | | svn path=/trunk/netsurf/; revision=12904
* Make high level cache, low level cache and image cache all be initialised ↵Vincent Sanders2011-09-101-1/+1
| | | | | | | | | from passed parameters Calculate all cache sizes from single memory cache size option and sanity check have a single global struct to hold all parameters instead of several individual variables svn path=/trunk/netsurf/; revision=12784
* Sniff content types where appropriate.John Mark Bell2011-09-041-4/+2
| | | | | | We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons) svn path=/trunk/netsurf/; revision=12707
* Shunt the schedule function definitions to desktop/schedule.h. Shunt the ↵Daniel Silverstone2011-03-131-3/+8
| | | | | | hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029
* Clean up caches on exitJohn Mark Bell2010-04-271-0/+5
| | | | svn path=/trunk/netsurf/; revision=10494
* Provide API to invalidate llcache object cache control dataJohn Mark Bell2010-04-161-0/+8
| | | | svn path=/trunk/netsurf/; revision=10411
* Make downloads work again.John Mark Bell2010-04-051-1/+14
| | | | svn path=/trunk/netsurf/; revision=10243
* Most of a stop implementation.John Mark Bell2010-04-041-0/+18
| | | | | | | | | 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
* Fixup per reviewJohn Mark Bell2010-03-281-5/+14
| | | | svn path=/trunk/netsurf/; revision=10196
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-0/+238
svn path=/trunk/netsurf/; revision=10180