THRIFT-211. erlang: Allow clients to be created without connecting
authorDavid Reiss <dreiss@apache.org>
Thu, 4 Jun 2009 02:01:28 +0000 (02:01 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 4 Jun 2009 02:01:28 +0000 (02:01 +0000)
commitbb97fd90a501ce7a7b37170295c4d02c719a2150
treeeaf38f13d921f87a046560677f4072b5e777941d
parent5e530af5878ce7650e94ee662951b49358100984
THRIFT-211. erlang: Allow clients to be created without connecting

Add a client option to prevent the initial connect (which causes
the protocol factory to be ignored).  The main use case for this
is testing the proper handling of clients that cannot connect.
Update the tether test to use this feature instead of a raw
gen_server:start call.

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