From b17415fc16232a700a281c975f3d31ad23dd0351 Mon Sep 17 00:00:00 2001 From: Sandor Szuecs Date: Sun, 15 May 2011 17:43:32 +0200 Subject: [PATCH 2/2] module doc for webrick Errno Signed-off-by: Sandor Szuecs --- lib/webrick/compat.rb | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/webrick/compat.rb b/lib/webrick/compat.rb index 202c310..630e927 100644 --- a/lib/webrick/compat.rb +++ b/lib/webrick/compat.rb @@ -8,6 +8,14 @@ # # $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $ +## +# Systemcall error module used by webrick for cross platform +# compatability. +# +# * EPROTO: protocol error +# * ECONNRESET: remote host reset the connection request +# * ECONNABORTED: Client sent TCP reset (RST) before server has accepted the connection requested by client. +# module Errno ## # Protocol error. @@ -20,8 +28,8 @@ module Errno class ECONNRESET < SystemCallError; end ## - # Client send RST before server has accepted the connection - # requested by client. + # Client sent TCP reset (RST) before server has accepted the + # connection requested by client. class ECONNABORTED < SystemCallError; end end -- 1.7.5.1