From fb200aa96a9b6fec93a2a0f7cf458dab158cc80d Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Fri, 3 Jul 2009 16:58:27 -0300 Subject: [PATCH] Close the other end of the connection too. When the proxy is the one to close the connection, it should close both ends, since there will be no event indicating one of the ends was closed. --- pop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pop.c b/pop.c index 0477815..357a394 100644 --- a/pop.c +++ b/pop.c @@ -91,6 +91,7 @@ pop_read (net_hook_t *hook, gchar *buffer, size_t len) { g_message ("Denying access to user %s.", pop->user); pop_destroy (hook); + hc_conn_close (hook->peer->conn); hc_conn_close (hook->conn); return; } -- 2.20.1