Project

General

Profile

Bug #4725 » 0002-module-doc-for-webrick-Errno.patch

module - sz (Sandor Szücs), 05/18/2011 01:36 AM

View differences:

lib/webrick/compat.rb
#
# $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.
......
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
(2-2/2)