andris9 / hoodiecrow

Scriptable IMAP server for client integration testing
http://andris9.github.io/hoodiecrow/
Other
60 stars 27 forks source link

Simulate server initiated connection ends #17

Closed amtrack closed 6 years ago

amtrack commented 9 years ago

I would like to test my IMAP client to properly handle server initiated connection ends like "remote has ended connection" or "session has expired". Is there a way to do so?

server.close(callback); does seem to wait until the clients have disconnected, which is not what i want.

andris9 commented 9 years ago

Currently this is not possible but I guess it would make sense to add it. I don't know when I have time for this though

amtrack commented 9 years ago

OK, i see. Thanks anyway!