Skip to content

Improve timeout handling #7

Description

@fako1024

Right now, there is no default client-side timeout enforced (also refer to this quite commonly known discussion), and the WithTimeout() method only sets a context-based timeout (which will also take effect in case a request just takes a while, like downloading a large file).
While it's possible to specify a custom Transport using WithTransport, allowing the caller to set their own timeouts, there should probably be a) better defaults and b) some convenience methods to cover some common scenarios easily.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions