THRIFT-899. rb: Ruby read timeouts can sometimes be 2x what they should be
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 17 Sep 2010 20:17:21 +0000 (20:17 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 17 Sep 2010 20:17:21 +0000 (20:17 +0000)
commit83c47958707956a8812b2c5c91a4550f874cb055
tree45ce71e9b34d618c29e42b04fc4eb399842f6db9
parentd920765c66472d0011a7c6b3c8ce612317fa3801
THRIFT-899. rb: Ruby read timeouts can sometimes be 2x what they should be

This patch makes sure that we don't wait longer than necessary for timeouts.

Patch: Ryan King

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998303 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift/transport/socket.rb
lib/rb/spec/socket_spec_shared.rb