From 1fc0c08694510e56672bcd5f6a044538467811be Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 14 Oct 2016 01:48:52 +0000 Subject: webrick: use monotonic clock for timeouts The monotonic clock is immune to system time changes and a better option for implementing timing comparisons. * lib/webrick/utils.rb (TimeoutHandler): use monotonic clock (watch): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e6434a8ea4..fb7b8e123f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 14 10:48:37 2016 Eric Wong + + * lib/webrick/utils.rb (TimeoutHandler): use monotonic clock + (watch): ditto + Thu Oct 13 19:41:32 2016 Nobuyoshi Nakada * io.c (copy_stream_body): use IO to write to copy to duplex IO. -- cgit v1.2.3