summaryrefslogtreecommitdiff
path: root/content/fetchers/curl.c
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-33/+26
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Move win32 window operations into their own moduleVincent Sanders2015-03-121-1/+2
| | | | | | This splits up a great deal of the win32 window code out from other gui code. It also remove large quantities of unused and junk variables and functions.
* Fix my spelling of teh everywhereVincent Sanders2014-11-181-1/+1
|
* Remove unecessary form debugVincent Sanders2014-11-151-1/+1
| | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer.
* Doxygen cleanupsVincent Sanders2014-11-091-3/+3
|
* update fetcher registration API to return an error code.Vincent Sanders2014-10-251-521/+491
| | | | | | | | By using an error code return we can gracefully handle fetcher registration faliures instead of just immediately aborting. The curl handler was also cleaned up and documentation improved as a side effect.
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* HTTPS: disable all SSL versions; emit fallback SCSV on downgrade.John-Mark Bell2014-10-151-1/+5
| | | | | | This removes all support for SSL and (with help from servers that support the fallback SCSV) protects against inappropriate protocol downgrade.
* split version info into its own header and remove unnecessary nesurf.h includesVincent Sanders2014-10-131-1/+0
| | | | | | | | | The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required.
* memcpy and terminate from openssl buffersVincent Sanders2014-09-031-18/+23
| | | | | The memcpy is used instead of snprintf as the source data may not be null terminated and was causing OpenBSD to segfault.
* terminate buffers from X509_NAME_print_ex()Vincent Sanders2014-09-021-7/+13
|
* make fetchers scheduledVincent Sanders2014-06-261-3/+1
|
* clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-22/+12
|
* add file operations table and make all frontends use it.Vincent Sanders2014-05-071-5/+6
| | | | | | | | | | | | | This rationalises the path construction and basename file operations. The default implementation is POSIX which works for all frontends except windows, riscos and amiga which have differeing path separators and rules. These implementations are significantly more robust than the previous nine implementations and also do not use unsafe strncpy or buffers with arbitrary length limits. These implementations also carry full documentation comments.
* move scheduleing into browser operation tableVincent Sanders2014-03-091-7/+7
|
* Use libcurl's cache if it's new enough. Fixes #2064.John-Mark Bell2014-02-061-7/+32
|
* Just use corestring refs.Michael Drake2014-01-241-10/+3
|
* create table for fetcher operations and move all operations into itVincent Sanders2014-01-231-2/+2
|
* Enable TLS 1.2 support again.John-Mark Bell2014-01-191-5/+3
|
* move filename_from_path and path_add_part into gui operation tablesVincent Sanders2014-01-161-1/+2
|
* Remove logging now that file upload *seems* to workDaniel Silverstone2014-01-041-1/+0
|
* Add a bunch of logging to try and help track down the issue with rawfile ↵Daniel Silverstone2014-01-041-0/+1
| | | | handling, sorry guys
* In theory, store raw filenames and pass them through for file upload. ↵Daniel Silverstone2014-01-041-1/+1
| | | | Untested due to no file-upload in GTK frontend just yet
* Clean up cached fetch handles.Michael Drake2013-10-241-0/+2
|
* Fix Coverity #1109871.Michael Drake2013-10-231-1/+2
|
* only set no proxy value in modern enough versions of teh libraryVincent Sanders2013-06-041-0/+3
|
* Add and use no proxy list optionVincent Sanders2013-06-041-0/+5
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Downgrade TLS version support if it turns out the server can't cope with ↵John-Mark Bell2013-01-041-9/+28
| | | | TLSv1.1.
* Rough implementation of httponly cookie supportDaniel Silverstone2012-11-091-1/+1
|
* Only disable TLS1.2 if it can be disabled.John-Mark Bell2012-11-041-0/+2
|
* Disable TLS1.2 support.John-Mark Bell2012-11-041-0/+2
|
* Disable SSL session ID caching.John-Mark Bell2012-11-041-0/+3
|
* Revert "Enable verbose curl debug"John-Mark Bell2012-11-041-4/+1
| | | | This reverts commit f5a98defaec97cf7a18516c8c9af49f10b93f0cf.
* Enable verbose curl debugJohn-Mark Bell2012-11-041-1/+4
|
* Revert "Suppress BEAST workaround."John-Mark Bell2012-11-041-3/+0
| | | | This reverts commit d31e8a7b29ea7b3dd3838c628fcfe30d2269859d.
* Suppress BEAST workaround.John-Mark Bell2012-11-041-0/+3
|
* Merge branch 'master' of git://git.netsurf-browser.org/netsurfMichael Drake2012-10-111-1/+1
|\
| * Fix bug #3576005: partial file means finished, not error.John-Mark Bell2012-10-101-1/+1
| |
* | Port to new urldb.Michael Drake2012-10-081-3/+3
|/
* Remove unused #include.Michael Drake2012-10-051-1/+0
|
* Add support for sending DoNotTrack header.Chris Young2012-05-201-0/+4
| | | | svn path=/trunk/netsurf/; revision=13928
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-27/+31
| | | | svn path=/trunk/netsurf/; revision=13548
* Rename nsurl_enquire to nsurl_has_component.Michael Drake2011-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=13183
* return;John Mark Bell2011-11-271-0/+6
| | | | | | Fix bug #3442642: allow scheme-specific fetchers to have a say in whether an URL can be fetched. svn path=/trunk/netsurf/; revision=13182
* Clean up fetch callback API. Inject some long-needed type safety.John Mark Bell2011-11-081-41/+42
| | | | svn path=/trunk/netsurf/; revision=13137
* Hack around curl complaining about junk gzip streamsJohn Mark Bell2011-11-051-2/+10
| | | | svn path=/trunk/netsurf/; revision=13129
* Fix handling of URLs without an authorityJohn Mark Bell2011-10-141-17/+21
| | | | svn path=/trunk/netsurf/; revision=13053
* prevent odd curl non completion behaviourVincent Sanders2011-10-091-2/+12
| | | | svn path=/trunk/netsurf/; revision=13024
* Store host as lwc_string in curl fetcher and obtain it via nsurl. Clean up ↵Michael Drake2011-10-011-29/+25
| | | | | | cached hosts on exit. svn path=/trunk/netsurf/; revision=12918