baudehlo/Haraka — pull request #95 by smfreegard (2011-10-10 21:47:47+00:00)
Title: Add missing on('end') event to server socket

I've been working on a 'stats' plugin that tracks each connected client and I noticed that if I remote host drops the connection without sending QUIT, Haraka never noticed the disconnect.

I've also changed self.client.fd to self.remote_ip in the logged output of the other events as since the TLS changes self.client.fd is undefined.