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

Timeout error #3296

Open
fiftythreecorp opened this issue Apr 8, 2020 · 4 comments
Open

Timeout error #3296

fiftythreecorp opened this issue Apr 8, 2020 · 4 comments

Comments

@fiftythreecorp
Copy link

When i set option timeout: 3000 i expect then request would be canceled after this time, if its yet not complete.
But if i cant connect to proxy i should wait 120 second before request canceled.

How to cancel request after 3 seconds, if for some reason the request is not yet complete?

@superlc
Copy link

superlc commented Dec 7, 2020

first, listen the error event
if the error code is ESOCKETTIMEDOUT, you can manually abort the request

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 9, 2022
@slpkbt
Copy link

slpkbt commented Jan 11, 2022

same here

@stale stale bot removed the stale label Jan 11, 2022
@manh1451999
Copy link

I have the same problem, hope there is a solution for this problem

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

No branches or pull requests

4 participants