From 65b62d83ee72012d1171f1813b8f989f8805497c Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 15 May 2013 11:57:09 +0200 Subject: Don't crash on reading invalid messages. Also, invoke disconnected callback and close connection in error cases. --- lib/conn.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/conn.h') diff --git a/lib/conn.h b/lib/conn.h index dfeaf74..66e15e2 100644 --- a/lib/conn.h +++ b/lib/conn.h @@ -1,7 +1,6 @@ /* Copyright 2011,2013 NORDUnet A/S. All rights reserved. See LICENSE for licensing information. */ -int conn_close (struct rs_connection **connp); int conn_user_dispatch_p (const struct rs_connection *conn); int conn_activate_timeout (struct rs_connection *conn); int conn_type_tls (const struct rs_connection *conn); -- cgit v1.1