THRIFT-604: rb: nonblocking_server assumes that socket.read returns exactly one message
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 15 Jan 2010 17:30:40 +0000 (17:30 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 15 Jan 2010 17:30:40 +0000 (17:30 +0000)
commit8d41b643f9bb670f18404260fbe124c0cabb5360
treeb5595e39c95f7872e90e7df2ff5c864489cad454
parent62fb2ed1fea45f3193a0b295e5ef7f910a70cd6a
THRIFT-604: rb: nonblocking_server assumes that socket.read returns exactly one message

This patch causes every message currently in the buffer to be processed before going on.

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