[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.267)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 267
Commiter: yasu
Date: 2007-04-23 13:13:50 +0900 (月, 23 4月 2007)
=======================================================
Log:
syslog record for refused connection.
=======================================================
Changed:
U cdn/ChangeLog
U cdn/check-surrogates.rb
Modified: cdn/ChangeLog
===================================================================
--- cdn/ChangeLog 2007-04-21 06:01:19 UTC (rev 266)
+++ cdn/ChangeLog 2007-04-23 04:13:50 UTC (rev 267)
@@ -1,3 +1,7 @@
+2007-04-23 ARAKI Yasuhiro <ar@xxxxxxxxxxxxx>
+
+ * check-surrogates.rb (checkhttp): Added syslog record for Errno::ECONNREFUSED.
+
2007-04-17 ARAKI Yasuhiro <yasu@debian.or.jp>
* Change timeout detect time to 8 seconds.
Modified: cdn/check-surrogates.rb
===================================================================
--- cdn/check-surrogates.rb 2007-04-21 06:01:19 UTC (rev 266)
+++ cdn/check-surrogates.rb 2007-04-23 04:13:50 UTC (rev 267)
@@ -31,6 +31,12 @@
rescue Timeout::Error
slog.info("#{host} timeout (#{$!})")
return nil
+ rescue Errno::ECONNREFUSED
+ slog.info("#{host} refused open (#{$!})")
+ return nil
+ rescue
+ slog.info("#{host} some error (#{$!})")
+ return nil
end
end