Bug #4725 » 0002-module-doc-for-webrick-Errno.patch
lib/webrick/compat.rb | ||
---|---|---|
8 | 8 |
# |
9 | 9 |
# $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $ |
10 | 10 | |
11 |
## |
|
12 |
# Systemcall error module used by webrick for cross platform |
|
13 |
# compatability. |
|
14 |
# |
|
15 |
# * EPROTO: protocol error |
|
16 |
# * ECONNRESET: remote host reset the connection request |
|
17 |
# * ECONNABORTED: Client sent TCP reset (RST) before server has accepted the connection requested by client. |
|
18 |
# |
|
11 | 19 |
module Errno |
12 | 20 |
## |
13 | 21 |
# Protocol error. |
... | ... | |
20 | 28 |
class ECONNRESET < SystemCallError; end |
21 | 29 | |
22 | 30 |
## |
23 |
# Client send RST before server has accepted the connection
|
|
24 |
# requested by client. |
|
31 |
# Client sent TCP reset (RST) before server has accepted the
|
|
32 |
# connection requested by client.
|
|
25 | 33 | |
26 | 34 |
class ECONNABORTED < SystemCallError; end |
27 | 35 |
end |
28 |
- |