THRIFT-211. erlang: Support "tethered" clients
authorDavid Reiss <dreiss@apache.org>
Thu, 4 Jun 2009 02:01:32 +0000 (02:01 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 4 Jun 2009 02:01:32 +0000 (02:01 +0000)
commit1e1a6976723b37c44b1eff5cc3f4df1a52b95e0b
tree4f290586e351e4cc690eb519ed9f5d0e890faae2
parentbb97fd90a501ce7a7b37170295c4d02c719a2150
THRIFT-211. erlang: Support "tethered" clients

Add a client option that causes clients to monitor their creators
and terminate when the creator dies.  This makes it possible to
prevent client leaks without linking, because the latter causes
application code to be killed when a transport error occurs and
exits are not trapped.

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