Client state to "working" when waiting for resolver PAZ-907
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 27 Nov 2013 09:49:45 +0000 (10:49 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 27 Nov 2013 09:49:45 +0000 (10:49 +0100)
src/client.c

index 634243c..e3fc2c2 100644 (file)
@@ -874,6 +874,7 @@ int client_start_search(struct client *cl)
     {
         session_log(se, YLOG_LOG, "client %s postponing search: No connection",
                     client_get_id(cl));
+        client_set_state_nb(cl, Client_Working);
         return -1;
     }
     co = client_get_connection(cl);