The R Project SVN R

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
76829 2571 d 8 h ripley /trunk/src/modules/internet/ increase buffer size  
76204 2701 d 3 h ripley /trunk/ change the default HTTP user agent when libcurl is used  
76143 2713 d 21 h hornik /trunk/src/modules/internet/ Avoid use-after-free seen on OpenBSD with vm.malloc_conf=F.
Report and fix by Theo Buehler <tb@theobuehler.org>.
 
75890 2773 d 22 h maechler /trunk/ provide `headers` option to url() and download.file(), thanks to Gábor Csárdi  
72754 3343 d 8 h ripley /trunk/src/ add comments  
72735 3351 d 7 h kalibera /trunk/src/modules/internet/ Fix progress bar when downloading multiple files concurrently with libcurl
on Windows (PR16454), from Nathan Sosnovske.
 
72607 3382 d 6 h ripley /trunk/src/modules/internet/ tweak messages  
72601 3383 d 1 h ripley /trunk/src/modules/internet/ add error message missing on Fedora  
72592 3383 d 23 h ripley /trunk/src/modules/internet/ rarely libcurl gives an error but no message  
72207 3447 d 8 h ripley /trunk/ add more info to errors, for those who use suppressWarnings  
72204 3447 d 23 h ripley /trunk/src/modules/internet/ relaxation to libcurl >= 7.22.0 is Unix-only  
72196 3448 d 8 h ripley /trunk/ markup, wording tweaks  
72188 3449 d 9 h ripley /trunk/ switch download.file/url default to "libcurl"  
72180 3450 d 4 h ripley /trunk/src/modules/internet/ figure out which transfer(s) failed  
72178 3450 d 8 h ripley /trunk/src/ tweak wording  
72176 3450 d 15 h morgan /trunk/src/modules/internet/ bugfix: correctly report download progress on redirect

- download.file, method="libcurl"
- only report progress on codes < 300, i.e., once even with redirects
 
72169 3451 d 7 h ripley /trunk/src/modules/internet/ avoid leak on rare failure  
72167 3452 d 4 h ripley /trunk/src/modules/internet/ avoid saving a new file if download.file() fails  
71974 3481 d 1 h morgan /trunk/ bugfix: don't check endpoint existence before attempting download

- download.file(method="libcurl")
- HEAD or range-based queries are not universally supported, resulting
in false negatives or excessive traffic
- destination files are touched (created or opened for append) before
download starts, making clean-up on failure difficult. Currently,
empty or possibly corrupt (in the case of append) files are left on
disk.
 
71812 3509 d 3 h morgan /trunk/src/modules/internet/ do not follow redirects in download.file libcurl URL 404 check

- previously, NOBODY and FOLLOWLOCATION used when checking for client
error before download
- FOLLOWLOCATION changes POST to GET, invalidating signed URL (request
method used to compute signature), so existence check would fail.
- Solution: Accept 3xx response as evidence for no client error.
- https://stat.ethz.ch/pipermail/r-devel/2016-June/072852.html
 

Show All