Bug #4725 » 0002-module-doc-for-webrick-Errno.patch
| 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
|
||
- « Previous
- 1
- 2
- Next »