Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Enable noisy logging | John Mark Bell | 2010-07-17 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=10650 | ||||
* | Clean up caches on exit | John Mark Bell | 2010-04-27 | 1 | -0/+42 |
| | | | | svn path=/trunk/netsurf/; revision=10494 | ||||
* | remove _GNU_SOURCE define from everywhere. | Vincent Sanders | 2010-04-24 | 1 | -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 Bell | 2010-04-17 | 1 | -1/+2 |
| | | | | svn path=/trunk/netsurf/; revision=10423 | ||||
* | When the fetch system informs its clients that certificate verification has ↵ | John Mark Bell | 2010-04-16 | 1 | -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 data | John Mark Bell | 2010-04-16 | 1 | -0/+11 |
| | | | | svn path=/trunk/netsurf/; revision=10411 | ||||
* | Reset fetch state when refetching object. | John Mark Bell | 2010-04-16 | 1 | -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 handling | John Mark Bell | 2010-04-16 | 1 | -28/+50 |
| | | | | svn path=/trunk/netsurf/; revision=10407 | ||||
* | Ensure we invalidate cache data and mark objects as complete on failure to ↵ | John Mark Bell | 2010-04-14 | 1 | -3/+26 |
| | | | | | | fetch. svn path=/trunk/netsurf/; revision=10402 | ||||
* | Eat any #fragment in llcache_object_retrieve -- fixing double-fragment ↵ | Daniel Silverstone | 2010-04-14 | 1 | -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 Silverstone | 2010-04-14 | 1 | -63/+55 |
| | | | | | | function call svn path=/trunk/netsurf/; revision=10398 | ||||
* | Shrink source buffer to final length on fetch completion | John Mark Bell | 2010-04-11 | 1 | -0/+12 |
| | | | | svn path=/trunk/netsurf/; revision=10373 | ||||
* | Pedantic whitespace changes | John Mark Bell | 2010-04-11 | 1 | -5/+10 |
| | | | | svn path=/trunk/netsurf/; revision=10356 | ||||
* | Complete low-level cache cleaner | John Mark Bell | 2010-04-11 | 1 | -2/+32 |
| | | | | svn path=/trunk/netsurf/; revision=10355 | ||||
* | Remove redundant todo | John Mark Bell | 2010-04-11 | 1 | -1/+0 |
| | | | | svn path=/trunk/netsurf/; revision=10354 | ||||
* | Support 307 redirects for GET requests | John Mark Bell | 2010-04-11 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=10353 | ||||
* | Forbid redirects to file:/// URLs | John Mark Bell | 2010-04-11 | 1 | -1/+15 |
| | | | | svn path=/trunk/netsurf/; revision=10352 | ||||
* | Bail out if we're redirected to an URL we can't handle | John Mark Bell | 2010-04-11 | 1 | -1/+5 |
| | | | | svn path=/trunk/netsurf/; revision=10351 | ||||
* | Reintroduce redirect limit | John Mark Bell | 2010-04-11 | 1 | -27/+59 |
| | | | | svn path=/trunk/netsurf/; revision=10350 | ||||
* | Remove redundant todos | John Mark Bell | 2010-04-11 | 1 | -4/+0 |
| | | | | svn path=/trunk/netsurf/; revision=10349 | ||||
* | Improve const-correctness of fetch_start | John Mark Bell | 2010-04-10 | 1 | -3/+1 |
| | | | | svn path=/trunk/netsurf/; revision=10342 | ||||
* | Use computed POST data when redirecting, instead of original. | John Mark Bell | 2010-04-10 | 1 | -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 handles | Daniel Silverstone | 2010-04-09 | 1 | -4/+16 |
| | | | | svn path=/trunk/netsurf/; revision=10327 | ||||
* | Fix missing 'break' introduced by 10300 | Daniel Silverstone | 2010-04-08 | 1 | -0/+1 |
| | | | | svn path=/trunk/netsurf/; revision=10304 | ||||
* | Add an assert to clarify a segfault I'm investigating | Daniel Silverstone | 2010-04-08 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=10303 |