GitHub user smallfish opened a pull request:
https://github.com/apache/thrift/pull/82
THRIFT-1914 Python: Support for Multiplexing Services on any Transport
copy patch from: https://issues.apache.org/jira/browse/THRIFT-1914 add some
testcases.
add new options `multiple`, if set `True`, will test `ThriftTest` and
`SecondService`.
run server:
$ python TestServer.py --port=9999 --multiple -v TSimpleServer
run client:
$ python TestClient.py --host=127.0.0.1 --port=9999 --multiple
...................
----------------------------------------------------------------------
Ran 19 tests in 0.693s
OK
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smallfish/thrift master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/82.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #82
----
commit 4b5e276a43371b5d5cccbf9ca9fbcea790ae6881
Author: smallfish <[email protected]>
Date: 2014-03-04T16:34:59Z
THRIFT-1914 Python: Support for Multiplexing Services on any Transport,
Protocol and Server, add testcases
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---