-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from RCurl to curl #325
Comments
This is quite important. The For this reason Windows users are unable to connect with servers that use the latest HTTPS standards. Replacing |
I've started working on this on a branch. |
In case it wasn't obvious, you can add support for curl (and make it the
default) while still keeping the old code around just in case any users
rely on it. The package has multiple transports (curl binary, internal,
RCurl) so you can just add another transport and make it the default:
https://github.com/rstudio/rsconnect/blob/master/R/http.R
…On Tue, Mar 12, 2019 at 5:50 PM Jonathan ***@***.***> wrote:
I've started working on this on a branch.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#325 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGXx4G-_avj-6cDt7angHD6CMqvBm17ks5vWCE5gaJpZM4ZMKSM>
.
|
In recent versions of rsconnect, RCurl is no longer the default on Windows because of the issues @jeroen mentions above. We currently default to the ae203f8#diff-031bbb2044688f5cb946c89f3a3dbd15 Consequently I was planning on dropping RCurl entirely -- we'd still have the |
Fine by me
…On Tue, Mar 12, 2019 at 7:38 PM Jonathan ***@***.***> wrote:
In recent versions of rsconnect, RCurl is no longer the default on Windows
because of the issues @jeroen <https://github.com/jeroen> mentions above.
We currently default to the curl command line utility on Windows instead
(Windows 10 ships a competent one).
ae203f8#diff-031bbb2044688f5cb946c89f3a3dbd15
<ae203f8#diff-031bbb2044688f5cb946c89f3a3dbd15>
Consequently I was planning on dropping RCurl entirely -- we'd still have
the rcurl transport, but it would mean "the curl R package" rather than
"the RCurl package". Anyone opposed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#325 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGXx67HEMj_r1y2WVplXUnqNCJNG9apks5vWDpsgaJpZM4ZMKSM>
.
|
Be careful that shelling out is often unreliable. For example if there is some networking error (which is not unusual), the |
rsconnect currently uses the RCurl package most of the time to perform HTTP operations.
https://cran.r-project.org/web/packages/RCurl/index.html
We should consider switching to curl, which is what most of the tidyverse uses.
https://cran.r-project.org/web/packages/curl/index.html
The text was updated successfully, but these errors were encountered: