THRIFT-547. rb: Thrift deserializer hangs when deserializing empty string
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 31 Jul 2009 18:53:14 +0000 (18:53 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 31 Jul 2009 18:53:14 +0000 (18:53 +0000)
commit293086cacc60f24d45359ed93c5ec224562b4ddd
tree6e7769ceab3cc1d8a16e7dd3cc4143c23adcb7ac
parentccae88473962261d28d1ef56dd05637ca1445df6
THRIFT-547. rb: Thrift deserializer hangs when deserializing empty string

Thrift::MemoryBuffer will now throw an EOFError when it cannot fulfill a request for data.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799696 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/ext/memory_buffer.c
lib/rb/lib/thrift/transport/memory_buffer_transport.rb
lib/rb/spec/base_transport_spec.rb
lib/rb/spec/binary_protocol_spec_shared.rb