erlang: Make framed_transport not write out its buffer when closed
authorDavid Reiss <dreiss@apache.org>
Mon, 30 Aug 2010 22:05:15 +0000 (22:05 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 30 Aug 2010 22:05:15 +0000 (22:05 +0000)
commit7772d931a1908fa924972f4725de9e8ed3851d97
tree3a8333204533b74723a903b26d2bf38e9dbbaaab
parent5db982cdf2492914a4d8d09e066c1103d3bc447c
erlang: Make framed_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@990969 13f79535-47bb-0310-9956-ffa450edef68
lib/erl/src/thrift_framed_transport.erl