summaryrefslogtreecommitdiff
path: root/content/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert r12412, the doi: URI scheme hasn't been kept around it seems, even ↵François Revel2011-05-161-2/+0
| | | | | | ACM doesn't use it. And kyllikki was jumping on his seat anyway... It's still in the svn history if needed. I have some stuff for view-source: and man: but I'm not use they would be appreciated either :-D svn path=/trunk/netsurf/; revision=12414
* Add a redirecting fetcher for the doi: URI scheme. Not much used but just in ↵François Revel2011-05-151-0/+2
| | | | | | case... svn path=/trunk/netsurf/; revision=12412
* add resource handlingVincent Sanders2011-02-231-0/+2
| | | | | | move gtk and framebuffer to use generic resource handling svn path=/trunk/netsurf/; revision=11772
* Add missing includeJohn Mark Bell2011-02-151-0/+1
| | | | svn path=/trunk/netsurf/; revision=11694
* add about: fetcher Vincent Sanders2011-02-151-3/+4
| | | | | | rename fetchers to be more sensible svn path=/trunk/netsurf/; revision=11692
* Revert r10650/1. We no longer require noisy fetch/cache logging.John Mark Bell2011-01-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=11223
* Make fetch.c use new RING_COUNTBYLWCHOSTDaniel Silverstone2010-12-201-4/+15
| | | | svn path=/trunk/netsurf/; revision=11108
* Merge branches/vince/netsurf-file-fetcher to trunkJohn Mark Bell2010-09-091-0/+2
| | | | | | r=jmb svn path=/trunk/netsurf/; revision=10750
* Enable noisy loggingJohn Mark Bell2010-07-171-1/+1
| | | | svn path=/trunk/netsurf/; revision=10650
* Improve const-correctness of fetch_startJohn Mark Bell2010-04-101-3/+3
| | | | svn path=/trunk/netsurf/; revision=10342
* Return cookies to the same level of working/brokenness as they had before ↵John Mark Bell2010-04-101-0/+9
| | | | | | new-cache. svn path=/trunk/netsurf/; revision=10340
* Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in ↵Daniel Silverstone2010-04-081-2/+2
| | | | | | llcachec. svn path=/trunk/netsurf/; revision=10300
* Remove parent from fetches, clearing a todo from llcache.cDaniel Silverstone2010-04-081-24/+6
| | | | svn path=/trunk/netsurf/; revision=10299
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-4/+75
| | | | svn path=/trunk/netsurf/; revision=10180
* remove uneccissary includesVincent Sanders2010-01-291-2/+1
| | | | svn path=/trunk/netsurf/; revision=9931
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-2/+2
| | | | svn path=/trunk/netsurf/; revision=9729
* Correct definitionChris Young2009-07-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=8899
* Keep a copy of the next_fetcher pointer to avoid a situation where the fetch ↵Chris Young2009-07-291-1/+3
| | | | | | | | gets freed during the poll routine and the next pointer can no longer be read. svn path=/trunk/netsurf/; revision=8898
* Replace parent_url with a pointer to the parent content.John Mark Bell2009-07-101-16/+12
| | | | svn path=/trunk/netsurf/; revision=8428
* Permit referer to propagate to https hosts from httpJohn Mark Bell2009-06-191-3/+17
| | | | svn path=/trunk/netsurf/; revision=7875
* Make logic surrounding extraction of URL + referer scheme more sensible.John Mark Bell2009-05-281-37/+30
| | | | | | Always require the fetch URL to have a scheme -- without it, we can't find a fetcher. svn path=/trunk/netsurf/; revision=7597
* Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef ↵John Mark Bell2009-05-281-1/+0
| | | | | | NDEBUG. svn path=/trunk/netsurf/; revision=7593
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-221-3/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* Make redirects behave as a NOP wrt the verifiability of fetches.John Mark Bell2009-02-161-0/+13
| | | | | | Apparently, the interweb depends on this. svn path=/trunk/netsurf/; revision=6542
* First round of C89 fixes. Those should be obvious, hope I didn't introduce ↵François Revel2008-07-291-2/+4
| | | | | | any side effect. svn path=/trunk/netsurf/; revision=4788
* Remove unused members of struct fetch (were moved to fetch_curl but not ↵James Bursa2008-05-311-4/+0
| | | | | | removed from here). svn path=/trunk/netsurf/; revision=4232
* Wrap very verbose logging with #ifdef, so as to silence it.John Mark Bell2008-05-291-0/+25
| | | | svn path=/trunk/netsurf/; revision=4225
* Remove unnecessary includesJohn Mark Bell2008-05-111-3/+0
| | | | svn path=/trunk/netsurf/; revision=4144
* Initial attempt at implementing data: URLs. Needs cleaning and verifying ↵Rob Kendrick2008-03-051-0/+2
| | | | | | that I'm using the fetcher API correctly. Appears to work, though. svn path=/trunk/netsurf/; revision=3882
* Silence noisy loggingJohn Mark Bell2008-02-031-2/+2
| | | | svn path=/trunk/netsurf/; revision=3830
* Make core fetching code handle verifiability of transactionsJohn Mark Bell2008-01-301-3/+42
| | | | | | | | 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-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Fix crash when building error page -- fetch will be NULL, so ↵John Mark Bell2007-08-061-0/+2
| | | | | | fetch_get_referer will fail. svn path=/trunk/netsurf/; revision=3476
* Fix uninitialised fetch structure entries.John Mark Bell2007-07-081-0/+2
| | | | | | This was causing the Referer header to be sent regardless (assuming the referer string was non-NULL). svn path=/trunk/netsurf/; revision=3387
* Fix deadlock when fetching stylesheets when max_fetchers_per_host is reached ↵James Bursa2007-07-041-5/+3
| | | | | | 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-041-209/+243
| | | | | | for static functions and reorder functions. svn path=/trunk/netsurf/; revision=3379
* Add debug about ring sizes. Ensure we dispatch queued jobs when a job is freed.Daniel Silverstone2007-06-101-1/+13
| | | | svn path=/trunk/netsurf/; revision=3333
* Warning fixes.John Mark Bell2007-06-101-15/+16
| | | | svn path=/trunk/netsurf/; revision=3332
* Remove a time consuming LOG(()) and add some whitespace to help me thinkDaniel Silverstone2007-06-101-1/+4
| | | | svn path=/trunk/netsurf/; revision=3331
* Merge scheme switcher branch in.Daniel Silverstone2007-06-101-1353/+199
| | | | svn path=/trunk/netsurf/; revision=3330
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-10/+10
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Add a -v option to enable debug logging. Pass -v by default to the RO runimage.Daniel Silverstone2007-05-301-1/+5
| | | | svn path=/trunk/netsurf/; revision=3306
* Log curl_version() in fetch_init().James Bursa2007-05-061-11/+14
| | | | svn path=/trunk/netsurf/; revision=3267
* Fix some warnings in recent gcc.James Bursa2007-05-021-4/+4
| | | | svn path=/trunk/netsurf/; revision=3261
* Move user-agent generation into fetch.c and simplify.James Bursa2007-05-021-8/+37
| | | | svn path=/trunk/netsurf/; revision=3260
* Fix crash on WWW-Authenticate header with no realm (1686714)John Mark Bell2007-03-231-11/+14
| | | | svn path=/trunk/netsurf/; revision=3216
* Handle redirects with partial bodies.John Mark Bell2007-03-181-0/+8
| | | | svn path=/trunk/netsurf/; revision=3209
* Ensure handle options are reset appropriately (fixes 1668354)John Mark Bell2007-02-251-3/+17
| | | | svn path=/trunk/netsurf/; revision=3189
* Fix RING_FINDBYHOST to actually find things. jmb found the bug, I verified ↵Daniel Silverstone2007-02-221-2/+5
| | | | | | his patch and committed it svn path=/trunk/netsurf/; revision=3186
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-7/+15
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165