kopia lustrzana https://github.com/Yakifo/amqtt
HBMQTT-13 #comment Add remote address/port debug info on client connection
rodzic
f9278211ef
commit
efd88b50fe
|
@ -79,4 +79,5 @@ class Broker:
|
|||
|
||||
@asyncio.coroutine
|
||||
def client_connected(self, reader, writer):
|
||||
pass
|
||||
(remote_address, remote_port) = writer.get_extra_info('peername')
|
||||
self.logger.debug("Connection from %s:%d" % (remote_address, remote_port))
|
||||
|
|
Ładowanie…
Reference in New Issue