Skip to content

Expose curl options in use_course() and friends? #988

@jennybc

Description

@jennybc

Lesson learned from rstudio::conf 2020.

If the internet is functional but slow, use_course() can timeout. It inherits the default timeout from curl.

But I could possibly afford some way to set a longer timeout in an individual call or to do so globally via an env var or option.

Timeout can be set on the handle, i.e. h <- new_handle(timeout = 10) right around here:

h <- curl::new_handle(noprogress = FALSE, progressfunction = progress_fun)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions