We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes the http timeout parameter does not work and will wait indefinitely.
No response
None
Golang v1.20.6
The text was updated successfully, but these errors were encountered:
When you randomly enter a proxy IP, the program's timeout setting will not take effect and will wait indefinitely.
Sorry, something went wrong.
Use the "net/http" library to set the timeout and it will work fine
Promise.race([ cycleTLS.get(imgUrl, { ...config, headers, }), new Promise((_, reject) => setTimeout(() => reject(new Error()), 30000)), ])
I also noticed that the timeout seems to be ineffective in the Node.js environment. My approach is as mentioned above.
Danny-Dasilva
No branches or pull requests
Description
Sometimes the http timeout parameter does not work and will wait indefinitely.
Issue Type
No response
Operating System
No response
Node Version
None
Golang Version
Golang v1.20.6
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: