Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial changes ready to improve caching decisions | Vincent Sanders | 2013-01-07 | 1 | -28/+63 |
| | |||||
* | Downgrade TLS version support if it turns out the server can't cope with ↵ | John-Mark Bell | 2013-01-04 | 1 | -0/+53 |
| | | | | TLSv1.1. | ||||
* | Fixup for nsurl urldb. | Michael Drake | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | cleanup and reorganise low level cache source ready for extending with disc ↵ | Vincent Sanders | 2012-04-28 | 1 | -1476/+1420 |
| | | | | | | cache svn path=/trunk/netsurf/; revision=13893 | ||||
* | Fix bogus cache validation decision | John Mark Bell | 2011-12-08 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13261 | ||||
* | Rename nsurl_enquire to nsurl_has_component. | Michael Drake | 2011-11-27 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13183 | ||||
* | Clean up fetch callback API. Inject some long-needed type safety. | John Mark Bell | 2011-11-08 | 1 | -33/+35 |
| | | | | svn path=/trunk/netsurf/; revision=13137 | ||||
* | Avoid making a new nsurl to remove fragment if there is no fragment. | Michael Drake | 2011-10-05 | 1 | -5/+10 |
| | | | | svn path=/trunk/netsurf/; revision=12958 | ||||
* | Make llcache_handle_get_url return a nsurl. | Michael Drake | 2011-09-28 | 1 | -4/+2 |
| | | | | svn path=/trunk/netsurf/; revision=12905 | ||||
* | Port llcache to nsurl. | Michael Drake | 2011-09-28 | 1 | -150/+97 |
| | | | | svn path=/trunk/netsurf/; revision=12904 | ||||
* | Port fetch layer to nsurl. Remove unused fetch_get_referer function. | Michael Drake | 2011-09-27 | 1 | -3/+45 |
| | | | | svn path=/trunk/netsurf/; revision=12899 | ||||
* | Make high level cache, low level cache and image cache all be initialised ↵ | Vincent Sanders | 2011-09-10 | 1 | -35/+54 |
| | | | | | | | | | 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 | ||||
* | Handle zero-length documents correctly | John Mark Bell | 2011-09-08 | 1 | -0/+18 |
| | | | | svn path=/trunk/netsurf/; revision=12778 | ||||
* | Sniff content types where appropriate. | John Mark Bell | 2011-09-04 | 1 | -1/+16 |
| | | | | | | We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons) svn path=/trunk/netsurf/; revision=12707 | ||||
* | Implement todo | John Mark Bell | 2011-05-16 | 1 | -4/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12418 | ||||
* | Squash static analyser warning | John Mark Bell | 2011-05-16 | 1 | -3/+0 |
| | | | | svn path=/trunk/netsurf/; revision=12416 | ||||
* | Shunt the schedule function definitions to desktop/schedule.h. Shunt the ↵ | Daniel Silverstone | 2011-03-13 | 1 | -22/+3 |
| | | | | | | hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029 | ||||
* | Protect against object being cleaned while waiting for a query response | John Mark Bell | 2011-03-03 | 1 | -3/+15 |
| | | | | svn path=/trunk/netsurf/; revision=11894 | ||||
* | Make no-cache a tristate. In the case of a forced reload, we want to ↵ | John Mark Bell | 2011-02-24 | 1 | -6/+21 |
| | | | | | | revalidate once only. svn path=/trunk/netsurf/; revision=11791 | ||||
* | Revert the functional change from r11789: the no-cache directive forces us ↵ | John Mark Bell | 2011-02-24 | 1 | -1/+0 |
| | | | | | | to revalidate a cached object, not reject it entirely. svn path=/trunk/netsurf/; revision=11790 | ||||
* | Ensure cache hits after a forced reload -- don't even attempt to reuse ↵ | John Mark Bell | 2011-02-24 | 1 | -3/+6 |
| | | | | | | objects with the no_cache flag set (as they'll never be considered fresh, thus requiring a round trip to the server every time they're used). Instead, we'll fetch a new object, which will be considered fresh for caching purposes. svn path=/trunk/netsurf/; revision=11789 | ||||
* | Use cache control data invalidation function everywhere we want the cache ↵ | John Mark Bell | 2011-02-24 | 1 | -14/+14 |
| | | | | | | | | | control data reset. Fix cache control data invalidation to reset the age and max_age fields to INVALID_AGE. Fix cache control data reset on encountering an HTTP response line to occur before we fill in the response time, rather than after it. svn path=/trunk/netsurf/; revision=11783 | ||||
* | Improve commentary. | John Mark Bell | 2011-02-23 | 1 | -2/+6 |
| | | | | | | Stop leaking object_scheme in error cases. svn path=/trunk/netsurf/; revision=11778 | ||||
* | add resource handling | Vincent Sanders | 2011-02-23 | 1 | -5/+20 |
| | | | | | | move gtk and framebuffer to use generic resource handling svn path=/trunk/netsurf/; revision=11772 | ||||
* | Fix bug #3184972: cope with server sending a 304 in response to an ↵ | John Mark Bell | 2011-02-17 | 1 | -17/+28 |
| | | | | | | unconditional request. svn path=/trunk/netsurf/; revision=11710 | ||||
* | Revert r10650/1. We no longer require noisy fetch/cache logging. | John Mark Bell | 2011-01-06 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=11223 | ||||
* | Add some assert()s. | Michael Drake | 2010-12-29 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=11144 | ||||
* | User may have no handle if it was the target of an iterator when the handle ↵ | John Mark Bell | 2010-12-16 | 1 | -1/+1 |
| | | | | | | was aborted svn path=/trunk/netsurf/; revision=11071 | ||||
* | Ensure that we clean up after the client even if they report an error from ↵ | John Mark Bell | 2010-12-15 | 1 | -16/+24 |
| | | | | | | their notification callback. svn path=/trunk/netsurf/; revision=11067 | ||||
* | Make llcache_object_user objects distinct from llcache_handles. | John Mark Bell | 2010-12-15 | 1 | -32/+112 |
| | | | | | | | This allows us to be robust against clients completely changing the contents of the user list underneath us during iteration. Fix llcache_send_event_to_users to also be robust against the user list changing under it. svn path=/trunk/netsurf/; revision=11063 | ||||
* | Always invalidate next/prev pointers | John Mark Bell | 2010-12-13 | 1 | -2/+0 |
| | | | | svn path=/trunk/netsurf/; revision=11052 | ||||
* | Revert r11047-11050: if we remove a user from an object while it's the ↵ | John Mark Bell | 2010-12-13 | 1 | -12/+7 |
| | | | | | | | | iterator target, the effect will be that the iteration terminates early. Subsequent users that require notifications will simply have their notifications delayed svn path=/trunk/netsurf/; revision=11051 | ||||
* | Take 2: make callers of llcache_object_user_destroy invalidate next/prev ↵ | John Mark Bell | 2010-12-13 | 1 | -2/+7 |
| | | | | | | pointers svn path=/trunk/netsurf/; revision=11050 | ||||
* | Revert last change | John Mark Bell | 2010-12-13 | 1 | -7/+4 |
| | | | | svn path=/trunk/netsurf/; revision=11049 | ||||
* | Remove bogus assertions | John Mark Bell | 2010-12-13 | 1 | -4/+7 |
| | | | | svn path=/trunk/netsurf/; revision=11048 | ||||
* | We cannot invalidate a user's next/prev pointers when removing it from an ↵ | John Mark Bell | 2010-12-13 | 1 | -5/+5 |
| | | | | | | object, as it may be the target of iteration svn path=/trunk/netsurf/; revision=11047 | ||||
* | Fix assertion: user->next may be NULL, so there's no point asserting that it ↵ | John Mark Bell | 2010-12-13 | 1 | -2/+1 |
| | | | | | | isn't svn path=/trunk/netsurf/; revision=11046 | ||||
* | Fix assertion to compare, and not assign | John Mark Bell | 2010-12-13 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=11045 | ||||
* | Make llcache_object_notify_users robust to the object's user list changing ↵ | John Mark Bell | 2010-12-12 | 1 | -3/+34 |
| | | | | | | underneath it svn path=/trunk/netsurf/; revision=11044 | ||||
* | Fix bug 3096811: discard HTTP headers for all but the last response | John Mark Bell | 2010-10-27 | 1 | -8/+35 |
| | | | | svn path=/trunk/netsurf/; revision=10912 | ||||
* | Fix crash on receipt of a 304 response: it turns out that FETCH_HEADER may ↵ | John Mark Bell | 2010-09-16 | 1 | -12/+13 |
| | | | | | | | | be called before any decision about how to process the response is made. Move FETCH_HEADER handler to start of switch statement to reflect this. svn path=/trunk/netsurf/; revision=10792 | ||||
* | Ensure that candidate count is reduced if a conditional request results in a ↵ | John Mark Bell | 2010-09-16 | 1 | -0/+34 |
| | | | | | | non-304 response svn path=/trunk/netsurf/; revision=10791 | ||||
* | perpetrate a neatness to centralise all the low level cache cache control ↵ | Vincent Sanders | 2010-09-16 | 1 | -20/+21 |
| | | | | | | data invalidation svn path=/trunk/netsurf/; revision=10787 | ||||
* | Fix heap corruption | John Mark Bell | 2010-09-16 | 1 | -2/+7 |
| | | | | svn path=/trunk/netsurf/; revision=10786 | ||||
* | Fix validation of invalidated cache entries. | John Mark Bell | 2010-09-16 | 1 | -7/+13 |
| | | | | svn path=/trunk/netsurf/; revision=10785 | ||||
* | Ensure we free etags before invalidating cache control data | Daniel Silverstone | 2010-09-16 | 1 | -0/+10 |
| | | | | svn path=/trunk/netsurf/; revision=10784 | ||||
* | Forcibly invalidate contents with response codes that aren't 200 or 203. | John Mark Bell | 2010-09-15 | 1 | -9/+25 |
| | | | | svn path=/trunk/netsurf/; revision=10780 | ||||
* | Fix bug #3055480: properly compare URLs, instead of erroneously assuming ↵ | John Mark Bell | 2010-08-29 | 1 | -2/+6 |
| | | | | | | that strcasecmp is the correct answer. svn path=/trunk/netsurf/; revision=10721 | ||||
* | Less spam | John Mark Bell | 2010-08-10 | 1 | -2/+8 |
| | | | | svn path=/trunk/netsurf/; revision=10687 | ||||
* | Rate-limit cache clean attempts | John Mark Bell | 2010-08-10 | 1 | -2/+13 |
| | | | | svn path=/trunk/netsurf/; revision=10686 |