summaryrefslogtreecommitdiff
path: root/content/fetchers
Commit message (Collapse)AuthorAgeFilesLines
* Purge WITH_AUTHJohn Mark Bell2009-02-221-8/+1
| | | | svn path=/trunk/netsurf/; revision=6600
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-221-34/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* Log detected state of openssl availabilityJohn Mark Bell2009-02-211-0/+2
| | | | svn path=/trunk/netsurf/; revision=6595
* Given that the build-time SSL detection can be somewhat inaccurate, attempt ↵John Mark Bell2009-02-211-4/+21
| | | | | | to determine whether we can use the SSL_CTX stuff at runtime. svn path=/trunk/netsurf/; revision=6586
* Squash strict-aliasing warning in the most disgusting way possible.John Mark Bell2009-01-151-1/+1
| | | | svn path=/trunk/netsurf/; revision=6070
* Silence a bunch of warnings caused by cURL's typecheck-gcc stuff being ↵Daniel Silverstone2009-01-081-28/+41
| | | | | | strict and in one case cURL simply being daft (whoever heard of a signed HTTP response code?). svn path=/trunk/netsurf/; revision=5991
* Better, safer fix for the type punning issueDaniel Silverstone2008-10-131-6/+5
| | | | svn path=/trunk/netsurf/; revision=5562
* Fix type-punning warning in fetch_data.cDaniel Silverstone2008-10-131-1/+5
| | | | svn path=/trunk/netsurf/; revision=5561
* Add additional debug to fetch errors from cURLDaniel Silverstone2008-08-221-2/+4
| | | | svn path=/trunk/netsurf/; revision=5174
* First round of C89 fixes. Those should be obvious, hope I didn't introduce ↵François Revel2008-07-291-1/+1
| | | | | | any side effect. svn path=/trunk/netsurf/; revision=4788
* Handle errors returned by curl_multi_perform(), such as out of memory, ↵James Bursa2008-06-141-2/+7
| | | | | | instead of exiting. svn path=/trunk/netsurf/; revision=4329
* Stop processing headers and sending FETCH_HEADER if fetch was aborted.James Bursa2008-05-311-0/+5
| | | | svn path=/trunk/netsurf/; revision=4231
* Fix handling of cache control dataJohn Mark Bell2008-05-301-5/+6
| | | | svn path=/trunk/netsurf/; revision=4227
* Add new fetch callback FETCH_HEADER for headers and move as much header ↵James Bursa2008-05-301-104/+11
| | | | | | parsing as possible from fetch_curl.c to fetchcache.c. This simplifies fetch_curl.c and will make it possible to store response headers in future. svn path=/trunk/netsurf/; revision=4226
* - introduction of SLEN()John Tytgat2008-05-251-1/+1
| | | | | | | - enforce result of url_normalize() being NULL on failure - plug memory leak when url_normalize() fails svn path=/trunk/netsurf/; revision=4200
* No longer suppress the default Accept: header.John Mark Bell2008-05-241-1/+0
| | | | | | | This fixes all those sites that brokenly assume that it's required and thus break when the client doesn't send one (here's looking at you royalmail.com). libcurl's default Accept header is "*/*", which is semantically equivalent to not sending a header at all (no header implies the client accepts all content types). svn path=/trunk/netsurf/; revision=4196
* Remove unnecessary includesJohn Mark Bell2008-05-111-3/+0
| | | | svn path=/trunk/netsurf/; revision=4144
* Squash warningJohn Mark Bell2008-03-191-1/+1
| | | | svn path=/trunk/netsurf/; revision=3983
* jmb's rework of data: URL handlingRob Kendrick2008-03-061-36/+78
| | | | svn path=/trunk/netsurf/; revision=3890
* Add another check for malformed data: URLsRob Kendrick2008-03-051-1/+10
| | | | svn path=/trunk/netsurf/; revision=3889
* Many data: fixes. Acid2 no longer crashes NetSurf.Rob Kendrick2008-03-051-44/+84
| | | | svn path=/trunk/netsurf/; revision=3888
* Check for calloc() failingRob Kendrick2008-03-051-0/+3
| | | | svn path=/trunk/netsurf/; revision=3885
* Use curl_free() when freeing data: URLs that are URL-encoded instead of ↵Rob Kendrick2008-03-051-1/+4
| | | | | | using free() svn path=/trunk/netsurf/; revision=3884
* Initial attempt at implementing data: URLs. Needs cleaning and verifying ↵Rob Kendrick2008-03-052-0/+239
| | | | | | that I'm using the fetcher API correctly. Appears to work, though. svn path=/trunk/netsurf/; revision=3882
* Make core fetching code handle verifiability of transactionsJohn Mark Bell2008-01-301-22/+3
| | | | | | | | Make core fetching code be responsible for inserting cookies into the urldb Provide accessor to a fetch's parent url (this is defined as being the URL of the verifiable fetch which caused this one to occur) Make fetchcache's 3xx handling use the parent url when spawning new fetches svn path=/trunk/netsurf/; revision=3809
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-082-7/+28
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Ensure option strings aren't blank before setting headers: previously, a ↵John Mark Bell2007-07-211-2/+2
| | | | | | blank option string could result in "Accept-Language: , *;q=0.1" being sent, for example. svn path=/trunk/netsurf/; revision=3450
* Fix deadlock when fetching stylesheets when max_fetchers_per_host is reached ↵James Bursa2007-07-041-3/+6
| | | | | | by splitting fetch_can_be_freed() into fetch_remove_from_queues() and fetch_free(). svn path=/trunk/netsurf/; revision=3380
* Rename register_curl_fetchers() to fetch_curl_register(). Add declarations ↵James Bursa2007-07-042-182/+225
| | | | | | for static functions and reorder functions. svn path=/trunk/netsurf/; revision=3379
* Add option_suppress_curl_debug and default it to trueDaniel Silverstone2007-06-271-0/+8
| | | | svn path=/trunk/netsurf/; revision=3373
* Only pass option_ca_bundle and option_ca_path to cURL if they are non-empty.Daniel Silverstone2007-06-271-2/+2
| | | | svn path=/trunk/netsurf/; revision=3372
* Add ca_path option which sets CURLOPT_CAPATH.Daniel Silverstone2007-06-271-0/+2
| | | | svn path=/trunk/netsurf/; revision=3369
* Warning fixes.John Mark Bell2007-06-101-13/+13
| | | | svn path=/trunk/netsurf/; revision=3332
* Merge scheme switcher branch in.Daniel Silverstone2007-06-102-0/+1390
svn path=/trunk/netsurf/; revision=3330