THRIFT-305. erlang: Fix http_options for thrift_http_transport
authorDavid Reiss <dreiss@apache.org>
Mon, 30 Mar 2009 20:46:56 +0000 (20:46 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 30 Mar 2009 20:46:56 +0000 (20:46 +0000)
commit4c0234f815578f0e313d4509b1de80078fc49923
tree37e50bc32edb425f14f455e3c70fbf656d06527f
parentb3c5f6e25f3f39aa32fa65477633b5871e5b534f
THRIFT-305. erlang: Fix http_options for thrift_http_transport

The old implementation of thrift_http_transport:set_http_options assumed
that the return value of thrift_transport:new was a pid, but it isn't.
It is a private structure.  Therefore, set_http_options could never work.
Now, thrift_http_transport:new takes an optional third argument,
an assoc-list of options, including http_options.

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