Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove curl fetchers use of the wallclock API | Vincent Sanders | 2016-04-19 | 1 | -13/+15 |
| | | | | | | | | | | The wallclock() API uses gettimeofday which can be affected by the the systems clock being changed etc. The curl fetcher usage of this API is to generate a timing delta and does not cope with the gettimeofday issues. This changes the fetcher to use the nsutils library monotonic time function which does not suffer from the issues with gettimeofday. | ||||
* | Reduce unecessary use of networking headers | Vincent Sanders | 2016-04-17 | 1 | -1/+2 |
| | | | | | | | | The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it. | ||||
* | Tiny simplification of curl debug logging. | Michael Drake | 2016-01-21 | 1 | -1/+1 |
| | |||||
* | Add extra logging to curl poll fn when not suppressing curl debug. | Michael Drake | 2015-11-11 | 1 | -0/+38 |
| | |||||
* | Add support for retrying timed-out cURL fetches. | Daniel Silverstone | 2015-11-10 | 1 | -4/+12 |
| | | | | | | | | | | | | | This is an attempt to amelioriate the situation found in #2384 where we see the cURL connect() failing to complete. Based on the pcap from the bug log, we believe that RISC OS is likely failing to signal the completion of the connection to cURL. As such, cURL times out. This change permits retries of timed out connections in the hope that a fresh socket FD might subsequently function correctly. The defaults chosen mean that the previous behaviour of 30 seconds before timeout is reported will remain the same, but in that time we will make 3 separate attempts to connect the socket. | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -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 module | Vincent Sanders | 2015-03-12 | 1 | -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 everywhere | Vincent Sanders | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | Remove unecessary form debug | Vincent Sanders | 2014-11-15 | 1 | -1/+1 |
| | | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer. | ||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-09 | 1 | -3/+3 |
| | |||||
* | update fetcher registration API to return an error code. | Vincent Sanders | 2014-10-25 | 1 | -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 headers | Vincent Sanders | 2014-10-16 | 1 | -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 Bell | 2014-10-15 | 1 | -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 includes | Vincent Sanders | 2014-10-13 | 1 | -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 buffers | Vincent Sanders | 2014-09-03 | 1 | -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 Sanders | 2014-09-02 | 1 | -7/+13 |
| | |||||
* | make fetchers scheduled | Vincent Sanders | 2014-06-26 | 1 | -3/+1 |
| | |||||
* | clean up the fetcher factory and improve its API | Vincent Sanders | 2014-06-19 | 1 | -22/+12 |
| | |||||
* | add file operations table and make all frontends use it. | Vincent Sanders | 2014-05-07 | 1 | -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 table | Vincent Sanders | 2014-03-09 | 1 | -7/+7 |
| | |||||
* | Use libcurl's cache if it's new enough. Fixes #2064. | John-Mark Bell | 2014-02-06 | 1 | -7/+32 |
| | |||||
* | Just use corestring refs. | Michael Drake | 2014-01-24 | 1 | -10/+3 |
| | |||||
* | create table for fetcher operations and move all operations into it | Vincent Sanders | 2014-01-23 | 1 | -2/+2 |
| | |||||
* | Enable TLS 1.2 support again. | John-Mark Bell | 2014-01-19 | 1 | -5/+3 |
| | |||||
* | move filename_from_path and path_add_part into gui operation tables | Vincent Sanders | 2014-01-16 | 1 | -1/+2 |
| | |||||
* | Remove logging now that file upload *seems* to work | Daniel Silverstone | 2014-01-04 | 1 | -1/+0 |
| | |||||
* | Add a bunch of logging to try and help track down the issue with rawfile ↵ | Daniel Silverstone | 2014-01-04 | 1 | -0/+1 |
| | | | | handling, sorry guys | ||||
* | In theory, store raw filenames and pass them through for file upload. ↵ | Daniel Silverstone | 2014-01-04 | 1 | -1/+1 |
| | | | | Untested due to no file-upload in GTK frontend just yet | ||||
* | Clean up cached fetch handles. | Michael Drake | 2013-10-24 | 1 | -0/+2 |
| | |||||
* | Fix Coverity #1109871. | Michael Drake | 2013-10-23 | 1 | -1/+2 |
| | |||||
* | only set no proxy value in modern enough versions of teh library | Vincent Sanders | 2013-06-04 | 1 | -0/+3 |
| | |||||
* | Add and use no proxy list option | Vincent Sanders | 2013-06-04 | 1 | -0/+5 |
| | |||||
* | move options include | Vincent Sanders | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | Downgrade TLS version support if it turns out the server can't cope with ↵ | John-Mark Bell | 2013-01-04 | 1 | -9/+28 |
| | | | | TLSv1.1. | ||||
* | Rough implementation of httponly cookie support | Daniel Silverstone | 2012-11-09 | 1 | -1/+1 |
| | |||||
* | Only disable TLS1.2 if it can be disabled. | John-Mark Bell | 2012-11-04 | 1 | -0/+2 |
| | |||||
* | Disable TLS1.2 support. | John-Mark Bell | 2012-11-04 | 1 | -0/+2 |
| | |||||
* | Disable SSL session ID caching. | John-Mark Bell | 2012-11-04 | 1 | -0/+3 |
| | |||||
* | Revert "Enable verbose curl debug" | John-Mark Bell | 2012-11-04 | 1 | -4/+1 |
| | | | | This reverts commit f5a98defaec97cf7a18516c8c9af49f10b93f0cf. | ||||
* | Enable verbose curl debug | John-Mark Bell | 2012-11-04 | 1 | -1/+4 |
| | |||||
* | Revert "Suppress BEAST workaround." | John-Mark Bell | 2012-11-04 | 1 | -3/+0 |
| | | | | This reverts commit d31e8a7b29ea7b3dd3838c628fcfe30d2269859d. | ||||
* | Suppress BEAST workaround. | John-Mark Bell | 2012-11-04 | 1 | -0/+3 |
| | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2012-10-11 | 1 | -1/+1 |
|\ | |||||
| * | Fix bug #3576005: partial file means finished, not error. | John-Mark Bell | 2012-10-10 | 1 | -1/+1 |
| | | |||||
* | | Port to new urldb. | Michael Drake | 2012-10-08 | 1 | -3/+3 |
|/ | |||||
* | Remove unused #include. | Michael Drake | 2012-10-05 | 1 | -1/+0 |
| | |||||
* | Add support for sending DoNotTrack header. | Chris Young | 2012-05-20 | 1 | -0/+4 |
| | | | | svn path=/trunk/netsurf/; revision=13928 | ||||
* | NetSurf options rework (a=vince r=daniels,jmb) | Vincent Sanders | 2012-03-22 | 1 | -27/+31 |
| | | | | svn path=/trunk/netsurf/; revision=13548 | ||||
* | Rename nsurl_enquire to nsurl_has_component. | Michael Drake | 2011-11-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13183 | ||||
* | return; | John Mark Bell | 2011-11-27 | 1 | -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 |