mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:30:04 +00:00
bug fixes and improvements
- aliases are now handled properly in ABCH - removed final escargot leftovers (dev webconsole) - OSCAR etc. logging was not at log level debug - removed leftover debug code
This commit is contained in:
1 parent
4bf878556b
commit
6451bb9426
46 files changed
+307
-541
No files matched your search
+3
-3
@@ -65,7 +65,7 @@ class ListenerICQ(asyncio.DatagramProtocol):
|
||||
|
||||
def error_received(self, exc: Exception) -> None:
|
||||
# an ICMP port unreachable from a client that went away; its session times out by itself
|
||||
self.logger.info('UDP error:', str(exc))
|
||||
self.logger.debug('UDP error:', str(exc))
|
||||
|
||||
def send(self, packet: bytes, addr: Address) -> None:
|
||||
if self.transport is not None:
|
||||
@@ -77,7 +77,7 @@ class ListenerICQ(asyncio.DatagramProtocol):
|
||||
try:
|
||||
parsed = wire.parse(packet)
|
||||
if parsed is None:
|
||||
self.logger.info('Dropped a datagram that is no ICQ packet from', addr[0])
|
||||
self.logger.debug('Dropped a datagram that is no ICQ packet from', addr[0])
|
||||
return
|
||||
header, data = parsed
|
||||
self.logger.debug('[Client]', header, 'from', addr)
|
||||
@@ -132,7 +132,7 @@ class ListenerICQ(asyncio.DatagramProtocol):
|
||||
now = time.monotonic()
|
||||
for ctrl in list(self.by_uin.values()):
|
||||
if now - ctrl.last_activity > SESSION_TIMEOUT:
|
||||
ctrl.logger.info('Timed out')
|
||||
ctrl.logger.debug('Timed out')
|
||||
ctrl.close()
|
||||
for addr, noted in list(self.preauth.items()):
|
||||
if now - noted > PREAUTH_LIFETIME:
|
||||
|
||||
Reference in new issue
Block a user