Thrift-1376: Make port specification option in thrift remote
authorJake Farrell <jfarrell@apache.org>
Fri, 7 Oct 2011 00:14:34 +0000 (00:14 +0000)
committerJake Farrell <jfarrell@apache.org>
Fri, 7 Oct 2011 00:14:34 +0000 (00:14 +0000)
commitb5d94e07c481bacb0de55dfc9c16b2cf86feb25c
tree3d949b57529608b9f3f75af547a4cd55cdf4daa2
parent336a1599d7e1611edd1dfc93a8a952bbd8717f64
Thrift-1376: Make port specification option in thrift remote
Client: py
Patch: Dave Watson

The thrift-generated Python service client allows overriding the default host/port by doing "-h host:port" on the command line. Oftentimes, you want to override the host but not the port, as most services run on well-defined ports.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179905 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_py_generator.cc