Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a94514f
)
erlang: Make the test_server use thrift_socket_server
author
David Reiss
<dreiss@apache.org>
Mon, 30 Aug 2010 22:05:17 +0000
(22:05 +0000)
committer
David Reiss
<dreiss@apache.org>
Mon, 30 Aug 2010 22:05:17 +0000
(22:05 +0000)
thrift_server is deprecated, it seems.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990971
13f79535
-47bb-0310-9956-
ffa450edef68
test/erl/src/test_server.erl
patch
|
blob
|
history
diff --git
a/test/erl/src/test_server.erl
b/test/erl/src/test_server.erl
index
134c7cb
..
6797dd8
100644
(file)
--- a/
test/erl/src/test_server.erl
+++ b/
test/erl/src/test_server.erl
@@
-24,7
+24,9
@@
-include("thriftTest_types.hrl").
start_link(Port) ->
- thrift_server:start_link(Port, thriftTest_thrift, ?MODULE).
+ thrift_socket_server:start([{handler, ?MODULE},
+ {service, thriftTest_thrift},
+ {port, Port}]).
handle_function(testVoid, {}) ->