commit | 5bac5ba8bff4bf3ed1b25ccb1d084efa0648c4c3 | [log] [tgz] |
---|---|---|
author | Nobuaki Sukegawa <nsuke@apache.org> | Sat Mar 05 14:47:09 2016 +0900 |
committer | Nobuaki Sukegawa <nsuke@apache.org> | Sun Mar 06 09:45:34 2016 +0900 |
tree | fc376bf0cf4843c90cac343a8d7e4309d09e27f4 | |
parent | d9b4425f68b8a239e6085f2700bfc2f95cdb2f46 [diff] [blame] |
THRIFT-3712 TTornadoServer cannot handle IPv6 address This closes #924
diff --git a/lib/py/src/TTornado.py b/lib/py/src/TTornado.py index e01a49f..5eff11d 100644 --- a/lib/py/src/TTornado.py +++ b/lib/py/src/TTornado.py
@@ -164,7 +164,7 @@ @gen.coroutine def handle_stream(self, stream, address): - host, port = address + host, port = address[:2] trans = TTornadoStreamTransport(host=host, port=port, stream=stream, io_loop=self.io_loop) oprot = self._oprot_factory.getProtocol(trans)