THRIFT-417. rb: BufferedTransport can enter an infinite loop
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 1 Apr 2009 20:10:15 +0000 (20:10 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 1 Apr 2009 20:10:15 +0000 (20:10 +0000)
commit5b8b4845488b07007a311a0702107d6d8abe0052
tree837129cbda8c93c270d6a6e33555fec805a07adf
parent16b29a989e9af77130b626c011c56f07d197b8b5
THRIFT-417. rb: BufferedTransport can enter an infinite loop

Switch native proto implementations to use read_all instead of read. Add a bunch of tests to verify.

Also:
- removed some commented code in binary_protocol_accelerated.c
- struct.c was missing one of the possible native method calls
- updates gem manifest (included files that didn't exist)
- fixed svn:ignores of test/rb/gen-rb and lib/java/gen-java

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761037 13f79535-47bb-0310-9956-ffa450edef68
lib/java/test/org/apache/thrift/test/TCompactProtocolTest.java
lib/rb/Manifest
lib/rb/ext/binary_protocol_accelerated.c
lib/rb/ext/constants.h
lib/rb/ext/macros.h
lib/rb/ext/struct.c
lib/rb/ext/thrift_native.c
lib/rb/spec/binaryprotocol_spec_shared.rb
lib/rb/spec/spec_helper.rb
test/DebugProtoTest.thrift