THRIFT-1149. ruby: Nonblocking server fails when client connection is reset
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 18 Apr 2011 17:29:06 +0000 (17:29 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 18 Apr 2011 17:29:06 +0000 (17:29 +0000)
commit5671a55f8e974828fde5ce212b6c518bb4c3ebea
tree9ec2ca741408f09bdb19de770d669df158c89866
parent6b38cf68058c335a55b62752ccb126263df34cbb
THRIFT-1149. ruby: Nonblocking server fails when client connection is reset

In some situations, a disconnecting client could cause the nonblocking server to trip on an exception and take the whole server down. This patch rescues such errors and cleans up only the disconnected client.

Patch: Alex

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094667 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift/server/nonblocking_server.rb