THRIFT-1449. rb: Ruby client does not work on solaris (?)
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 13 Dec 2011 18:33:15 +0000 (18:33 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 13 Dec 2011 18:33:15 +0000 (18:33 +0000)
commit3371925d1804e6b7a4e94ef928ea897ded5e09fb
treedb5ba440b6eb3359120ddcc150d01108bd439fd4
parent6e96965fdb19755489c0d35dee6d7fe868477b55
THRIFT-1449. rb: Ruby client does not work on solaris (?)

This patch adds a new argument to the socket calls that seems to fix the problems while not causing any detriment to non-Solaris systems.

Patch: Erik Hetzner

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