TCPSocket#peeraddr may raise ENOTCONN
commit84c03d4019493edcd1c59e2816fbea08f3375c92
authorEric Wong <normalperson@yhbt.net>
Sun, 28 Feb 2010 01:58:16 +0000 (27 17:58 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 28 Feb 2010 01:58:16 +0000 (27 17:58 -0800)
tree06f11ac8000bc7a84eff13835994c2cfc0a04356
parent1e34a4f02e8f3743cf4d27117ccaf083a83b4d1f
TCPSocket#peeraddr may raise ENOTCONN

Since we deal with untrusted/non-local clients, those clients
may disconnect at inopportune times and leave us with ENOTCONN
when we try to call getpeername(2)
lib/rainbows/error.rb