Daniel Silverstone
bfb1bb1192
Migrate SSL certificate storage to the browser window
...
* 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>
2019-08-05 18:12:47 +01:00
Daniel Silverstone
4e95b7aedf
download: Include log.h
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 21:53:34 +01:00
Daniel Silverstone
09eb89e3c3
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>
2019-08-03 21:13:19 +01:00
Vincent Sanders
c821ed2bbd
move download header into public API
2016-05-30 11:15:58 +01:00
Michael Drake
1ea422a9d1
Remove old URL header includes.
2014-10-31 14:41:53 +00:00
Vincent Sanders
ce3d991918
use nsurl_nice and remove url_nice
...
change all callers over to using new API for generating nice filenames
from a url and remove the old API.
2014-10-31 00:24:57 +00:00
Vincent Sanders
d06df231bc
Update the core to use the split operations table headers
...
Second in the series to decouple the core API usage from the frontends.
2014-10-16 22:33:43 +01:00
Vincent Sanders
cd7f1eceea
make download_context_get_url() return an nsurl and adapt callers to cope
2014-05-08 17:54:44 +01:00
Vincent Sanders
096bd47ab0
refactor url utility functions to use standard nserror codes and have appropriate documentation.
2014-05-08 00:16:50 +01:00
Vincent Sanders
db33103fa3
clean up desktop/gui.h include usage
2014-01-29 21:35:53 +00:00
Michael Drake
96e5368d34
Use corestring.
2014-01-25 09:53:54 +00:00
Vincent Sanders
667d4a0a49
confine the gui table acessor to the gui factory header
2014-01-14 20:05:14 +00:00
Vincent Sanders
8dfe225153
move download operations to download table
2014-01-14 16:04:02 +00:00
Michael Drake
ba9769bc8c
Pass fetch redirect info up to content layer as content_msg. Mark redirect 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.
2013-05-27 14:51:00 +01:00
Vincent Sanders
25cdea3351
doxygen serious warning cleanup
2012-07-24 16:19:49 +01:00
Michael Drake
57547f7b1e
Make llcache_handle_get_url return a nsurl.
...
svn path=/trunk/netsurf/; revision=12905
2011-09-28 14:21:35 +00:00
John Mark Bell
5f311d08ef
Fix bug #3398114 : only unref filename_value if we successfully obtained it
...
svn path=/trunk/netsurf/; revision=12670
2011-08-25 19:21:09 +00:00
John Mark Bell
b0aeeb1e78
Fix double frees on download failure
...
svn path=/trunk/netsurf/; revision=12621
2011-07-23 18:10:19 +00:00
John Mark Bell
b34502af82
Refactor http utilities
...
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
John Mark Bell
6878eba295
Consider filename in Content-Disposition header when downloading, or generate reasonably sane default if there isn't one.
...
svn path=/trunk/netsurf/; revision=11767
2011-02-23 00:54:29 +00:00
John Mark Bell
66247f5b37
Fix bug #3188376 : there may be no window for a download if there were no headers or data.
...
Additionally, ensure we clean up on error.
svn path=/trunk/netsurf/; revision=11748
2011-02-21 20:56:58 +00:00
John Mark Bell
2748fe4f64
Make downloads work again.
...
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00