summaryrefslogtreecommitdiff
path: root/content/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bring handling of submission of blank file inputs in line with other browsers.John Mark Bell2007-01-301-12/+44
| | | | | | Tidy up fetch_post_convert while I'm at it. svn path=/trunk/netsurf/; revision=3159
* Generates and use a User-Agent: string based on new ↵Rob Kendrick2007-01-301-1/+5
| | | | | | netsurf_version_major/minor values, and results of uname(). svn path=/trunk/netsurf/; revision=3158
* Make GTK build compile on FreeBSD.James Bursa2007-01-291-2/+3
| | | | svn path=/trunk/netsurf/; revision=3154
* Handle cookies in unverifiable transactionsJohn Mark Bell2007-01-271-20/+43
| | | | svn path=/trunk/netsurf/; revision=3151
* Revert hack around broken pipe (not caching fetch handles used for SSL John Mark Bell2007-01-181-6/+2
| | | | | | | | connections). Ignore SIGPIPE completely as nothing other than OpenSSL is expected to generate it. svn path=/trunk/netsurf/; revision=3145
* Add fetch_http_code() to retrieve the HTTP status code of a fetch.James Bursa2007-01-131-26/+42
| | | | svn path=/trunk/netsurf/; revision=3139
* Update the file comment for fetch.c as requested.Daniel Silverstone2007-01-021-3/+5
| | | | svn path=/trunk/netsurf/; revision=3133
* Add option to set Accept-Charset header (Stefaan Claes)John Mark Bell2006-12-281-0/+8
| | | | svn path=/trunk/netsurf/; revision=3124
* Fix typo.John Mark Bell2006-12-281-1/+1
| | | | | | Default type -> text/plain svn path=/trunk/netsurf/; revision=3123
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Ignore body data from 401 replies to prevent disruption of auth login handlingChris Williams2006-10-011-0/+19
| | | | svn path=/trunk/netsurf/; revision=2972
* Don't cache curl handles that were used to fetch https URLs; with any John Mark Bell2006-07-091-2/+6
| | | | | | luck, this should fix broken pipe crashes. svn path=/trunk/netsurf/; revision=2723
* Fix crash when url_* failsJohn Mark Bell2006-06-291-12/+20
| | | | svn path=/trunk/netsurf/; revision=2678
* Only accept cookies from cookie-enabled transactionsJohn Mark Bell2006-06-291-1/+2
| | | | svn path=/trunk/netsurf/; revision=2668
* Merge cookies changes into head - unvalidated transactions and a UI John Mark Bell2006-06-191-7/+10
| | | | | | still need implementing. svn path=/trunk/netsurf/; revision=2632
* Make static function names consistent.James Bursa2006-04-161-14/+14
| | | | svn path=/trunk/netsurf/; revision=2537
* Fix URL file loading and add support for file:/// URLs to urldbJohn Mark Bell2006-04-121-3/+0
| | | | | | Convert file:/... to file:///... (the former isn't a valid URL) svn path=/trunk/netsurf/; revision=2524
* Unify information databasesJohn Mark Bell2006-04-091-10/+5
| | | | svn path=/trunk/netsurf/; revision=2519
* [project @ 2006-03-14 15:01:57 by dsilvers]Daniel Silverstone2006-03-141-0/+4
| | | | | | Urgh, unconditional variables made my brain hurt svn path=/import/netsurf/; revision=2129
* [project @ 2006-03-14 14:21:00 by dsilvers]Daniel Silverstone2006-03-141-118/+256
| | | | | | Multi-parallel fetch. Needs documenting, works in basic GTK tests, makes things way faster on GTK port. Needs testing on RO and in general more testing is good. svn path=/import/netsurf/; revision=2127
* [project @ 2006-03-04 10:48:40 by tlsa]Michael Drake2006-03-041-2/+2
| | | | | | Tweak timeouts. svn path=/import/netsurf/; revision=2103
* [project @ 2006-02-23 15:06:53 by jmb]John Mark Bell2006-02-231-13/+216
| | | | | | | | | | Handle invalid SSL certificates better - UI still needs work. Modify fetch callback data parameter type to remove compiler warnings. Constify things. Lose global ssl_verify_certificates option. Fix issue when closing a dialog without input focus. svn path=/import/netsurf/; revision=2092
* [project @ 2006-02-19 18:26:23 by jmb]John Mark Bell2006-02-191-7/+16
| | | | | | | | Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085
* [project @ 2006-02-13 23:04:32 by bursa]James Bursa2006-02-131-7/+6
| | | | | | Disable sending of Expect: 100-continue for POSTs (fixes using the bug tracker). Remove unnecessary setting of Host header. svn path=/import/netsurf/; revision=2080