From 3123b48786d777f60276d7011b974a0977698b32 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 24 Sep 2009 09:40:53 +0200 Subject: [PATCH] Fix connect timeout problem on Solaris. This problem was seen on Solaris but could happen anywhere. Pazpar2 did not detect that Connection was established. And consequently did not change timeout from 'Z39.50 connect timeout' to 'Z39.50 session timeout'. Since The former is only 15 seconds by default a slow search would be aborted when it shouldn't. This commit removes a call to ZOOM_connection_process which, on Solaris, would grab one or more events out, so that Pazpar2 was not informed. --- src/connection.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/connection.c b/src/connection.c index 5a28a75..cda779c 100644 --- a/src/connection.c +++ b/src/connection.c @@ -398,8 +398,6 @@ static int connection_connect(struct connection *con) /* this fragment is bad DRY: from client_prep_connection */ client_set_state(con->client, Client_Connecting); ZOOM_options_destroy(zoptions); - // This creates the connection - ZOOM_connection_process(link); return 0; } -- 1.7.10.4