THRIFT-127. erlang: Skip fields that have the wrong type
authorDavid Reiss <dreiss@apache.org>
Mon, 30 Mar 2009 20:46:47 +0000 (20:46 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 30 Mar 2009 20:46:47 +0000 (20:46 +0000)
commit233ace53f04abe48b974aa0b51002ecb7134837b
tree48511d409c69fc5fd7d0cad31575db8a05757193
parentbfc57a04026d9f5b3436baf4452eb262883b7310
THRIFT-127. erlang: Skip fields that have the wrong type

In the other languages (AFAIK), if a field has the wrong type,
it is silently skipped.  Erlang currently assumes that the type
is correct and de-synchronizes.  This change makes it behave like
the other languages (except that it is not silent).

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760161 13f79535-47bb-0310-9956-ffa450edef68
lib/erl/src/thrift_protocol.erl
test/ThriftTest.thrift
test/erl/src/test_membuffer.erl