Handle exception ETIMEDOUT in SMTP server (#384)
This commit is contained in:
committed by
Charlie Smurthwaite
parent
93434bbb7e
commit
83ada69662
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user