Closed shakermm closed 5 years ago
Can't reproduce. Just ran this and got a socket timeout as expected:
require('simple-get')({url: 'https://google.com', timeout: 1}, console.log.bind(console))
here is demo , am I missing something ? https://repl.it/@MikeShaker/simple-get-Timeout-demo
That website is super flaky for me, republished a simpler example here, still not reproducible:
Thank you, it has to be an issue with repl.it, even my example worked on runkit. Thanks again
I noticed if the request url is https timeout doesn't work, see example below