rb: BufferedTransport should flush on close [THRIFT-49]
authorKevin Clark <kclark@apache.org>
Thu, 26 Jun 2008 18:10:56 +0000 (18:10 +0000)
committerKevin Clark <kclark@apache.org>
Thu, 26 Jun 2008 18:10:56 +0000 (18:10 +0000)
commit091fa95233d793e10a95ebcce9e12b135301a855
tree04230f1ca0f019534f30760604b858e40ba0099e
parent2bd3a30b91ef2a4a6c54b4a030a4955a65c96bc8
rb: BufferedTransport should flush on close [THRIFT-49]

This also adds code and spec so nothing will be written to the transport
if there's nothing in the write buffer.

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