Skip to content
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

Request timeout support #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matuszeman
Copy link

User is able to specify client's requestTimeout option. If set, request.setTimeout() is called on each request OAuth2 lib does.
If timeout event is triggered by the socket - Error("E_OAUTH_REQUEST_TIMEOUT") is thrown.

@springuper
Copy link

we need this feature to abort long time request, usually more than 30s.

@YodasWs
Copy link

YodasWs commented Jun 18, 2018

  1. You have a conflict that needs to be resolved.
  2. Can you add this to OAuth for services that use OAuth 1.0A?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants