diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-03 21:13:19 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-03 21:13:19 +0100 |
commit | 09eb89e3c3b7ce98d66369ca5d6c41283caf9873 (patch) | |
tree | 7bc9d9015bdec9ad99c6373bbebe26cf215f960b /desktop/download.c | |
parent | 84a9c5accf63a5cfdbf288f3aba137fc5945aa02 (diff) | |
download | netsurf-09eb89e3c3b7ce98d66369ca5d6c41283caf9873.tar.gz netsurf-09eb89e3c3b7ce98d66369ca5d6c41283caf9873.tar.bz2 |
Migrate query dispatch up from llcache to hlcache
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>
Diffstat (limited to 'desktop/download.c')
-rw-r--r-- | desktop/download.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/download.c b/desktop/download.c index 76c294977..da229491d 100644 --- a/desktop/download.c +++ b/desktop/download.c @@ -234,6 +234,13 @@ static nserror download_callback(llcache_handle *handle, case LLCACHE_EVENT_REDIRECT: break; + case LLCACHE_EVENT_QUERY: + case LLCACHE_EVENT_QUERY_FINISHED: + /* It's *POSSIBLE* we might have to handle these here + * but how? + */ + NSLOG(netsurf, DEBUG, "Encountered query related events during download handling"); + return NSERROR_NOT_IMPLEMENTED; } return error; |