catch more cruft

This commit is contained in:
Ward Wouts 2003-11-12 14:01:43 +00:00
parent 5f7b55952c
commit 1ea456360c

View file

@ -1,4 +1,4 @@
# $Dwarf: article.rb,v 1.78 2003/08/31 20:08:14 ward Exp $
# $Dwarf: article.rb,v 1.79 2003/09/23 12:47:54 ward Exp $
# $Source$
#
@ -199,7 +199,7 @@ def get_group_info(server)
else
raise PermError, "#{$!}"
end
rescue Errno::EPIPE, Errno::ECONNRESET, EOFError
rescue Errno::EPIPE, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError
printerr(server)
reconnect(server)
retry
@ -374,6 +374,9 @@ end
def get_group_body_first(subj)
group_subject_sort(subj)
i = 0
unless @groups[subj]["messages"][0]
return false
end
while @gotten.has_key?(@groups[subj]["messages"][0]) == false
print "getting article: #{subj}\n" if Debuglevel > 0
print "full subject: #{@groups[subj]["subject"][0]}\n" if Debuglevel > 0
@ -704,6 +707,12 @@ def printerr(server)
end
def quit
# just testing if these should be reset...
@messids = []
@ids = []
@servers = []
@subjects = []
for server in @connections.keys
begin
@connections[server]["nntp"].quit