erlang: Make buffered_transport not write out its buffer when closed
authorDavid Reiss <dreiss@apache.org>
Mon, 30 Aug 2010 22:05:13 +0000 (22:05 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 30 Aug 2010 22:05:13 +0000 (22:05 +0000)
commit5db982cdf2492914a4d8d09e066c1103d3bc447c
tree0a39dfd7bc89f14c51b1607acca17f89f59f8980
parentc0e4b5b246a90f0d098955532a8d913bdb6c0083
erlang: Make buffered_transport not write out its buffer when closed

This complicates the code, and users can be expected to call flush
when they want to write data to the underlying transport.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990968 13f79535-47bb-0310-9956-ffa450edef68
lib/erl/src/thrift_buffered_transport.erl