You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Net::ReadTimeout error on some messages when used with net/smtp #31
I was just checking on my PRs and you're right that #30 won't help, net-smtp calls readline in this gem which is basically readuntil("\n").chop which is using a single byte line terminator. My PR is for an issue with multiple byte terminators like those used in net-pop so something else must be going on for this issue. Sorry but I'm not a maintainer, I just wanted to state why PR #30 isn't helping here.
The backtrace alone does not say what the server sent or what read_timeout was in effect, so there is nothing here I can reproduce. The readuntil fix in 0.3.0 only covers terminators split across reads, which cannot happen for the single-byte terminator readline uses. If it still reproduces on the current stable release in your environment, please let me know.
Activity
astapinski commentedon Jul 24, 2024
I was just checking on my PRs and you're right that #30 won't help,
net-smtpcallsreadlinein this gem which is basicallyreaduntil("\n").chopwhich is using a single byte line terminator. My PR is for an issue with multiple byte terminators like those used innet-popso something else must be going on for this issue. Sorry but I'm not a maintainer, I just wanted to state why PR #30 isn't helping here.hsbt commentedon Sep 17, 2026
The backtrace alone does not say what the server sent or what
read_timeoutwas in effect, so there is nothing here I can reproduce. Thereaduntilfix in 0.3.0 only covers terminators split across reads, which cannot happen for the single-byte terminatorreadlineuses. If it still reproduces on the current stable release in your environment, please let me know.