mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 14:06:29 +03:00
Socket may lose peer address when it is disconnected from the server side. In this case debug_assert! failed for me when running the core in debug mode on desktop. To avoid the case of peer_addr not being available, we now store it when LoggingStream is created.