You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would need implemented for IMAP/POP3. Right now the only way (other than adding custom listeners) is to modify IMAP notifier logic, specifically releaseConnection function.
titanism
changed the title
Feature Request: Add onConnectionClose handler for custom logic when a socket is closed/disconnected
Feature Request: Add onClose handler for custom logic when a socket is closed/disconnected
Aug 8, 2024
Bumping this request, as there's no current way to prevent connection overflow.
For example, any user can spawn 10000+ connections to a server and there is no application-layer functionality that can prevent this (other than if you were to write a loop or something on the IMAP/POP3 server instances and iterate over this.connections, which seems like an anti-pattern as opposed to using onConnect and onClose like we have in smtp-server).
No description provided.
The text was updated successfully, but these errors were encountered: