event_machine: prevent double close of client socket
commitd3ecf49abeda931e23023e1afb93d4c6145f559a
authorEric Wong <normalperson@yhbt.net>
Tue, 27 Jul 2010 17:03:37 +0000 (27 17:03 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 27 Jul 2010 17:03:37 +0000 (27 17:03 +0000)
tree4241d24a48b0f7b8e0746bb08da8d074d014c589
parent39f0cf9dcc971369a4618d0320e0a721a9abd4c1
event_machine: prevent double close of client socket

Not sure where this is happening, but this can trigger
Errno::EBADF under heavy load.
lib/rainbows/event_machine.rb