From 9025188b5cf7c9ef4a28adeb63d537ffab04f635 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 18 Jun 2011 10:55:59 +0000 Subject: [PATCH] added socket_connection_has_parked_connections query --- src/socket_connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/socket_connection.c b/src/socket_connection.c index 759b3a00e..63ed5e911 100644 --- a/src/socket_connection.c +++ b/src/socket_connection.c @@ -265,6 +265,9 @@ void socket_connection_retry_parked(){ } } +int socket_connection_has_parked_connections(void){ + return parked != NULL; +} static int socket_connection_accept(struct data_source *socket_ds) { struct sockaddr_storage ss;