Skip to content
Snippets Groups Projects
Commit 83ada696 authored by Petter Helset's avatar Petter Helset Committed by Charlie Smurthwaite
Browse files

Handle exception ETIMEDOUT in SMTP server (#384)

parent 93434bbb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -142,7 +142,7 @@ module Postal
else
buffers[io] << io.readpartial(10240)
end
rescue EOFError, Errno::ECONNRESET
rescue EOFError, Errno::ECONNRESET, Errno::ETIMEDOUT
# Client went away
eof = true
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment