mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
parent
d9b4425f68
commit
5bac5ba8bf
@ -164,7 +164,7 @@ class TTornadoServer(tcpserver.TCPServer):
|
||||
|
||||
@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)
|
||||
|
Loading…
Reference in New Issue
Block a user