summaryrefslogtreecommitdiff
path: root/lib/net/pop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/pop.rb')
-rw-r--r--lib/net/pop.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 7f5c09c504..4a2dca2311 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -555,10 +555,10 @@ module Net
s.post_connection_check(@address)
end
end
- @socket = InternetMessageIO.new(s)
+ @socket = InternetMessageIO.new(s,
+ read_timeout: @read_timeout,
+ debug_output: @debug_output)
logging "POP session started: #{@address}:#{@port} (#{@apop ? 'APOP' : 'POP'})"
- @socket.read_timeout = @read_timeout
- @socket.debug_output = @debug_output
on_connect
@command = POP3Command.new(@socket)
if apop?