Closed electricalen closed 3 years ago
Thanks for reporting this. It looks like Net::ReadTimeout is defined in 'net/protocol' which is used by net/http, net/ftp, net/smtp, net/pop, and net/imap.
What do you think of switching from net/http to net/protocol so that users can pull in the minimum required libraries?
@seandilda Yes that's probably better, I updated it.
Thanks!
When there is a timeout running a command, it tries to raise a Net::ReadTimeout exception which is in the net/http library but not included in the requires.