summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c7ce18b)
client state is un-modified if a search is not sent; this is because
previous search may still be in progress and we don't want to prematurely
terminate that.
yaz_log(YLOG_LOG, "Target %s has preferred status: %d",
client_get_id(cl), cl->preferred);
}
yaz_log(YLOG_LOG, "Target %s has preferred status: %d",
client_get_id(cl), cl->preferred);
}
- client_set_state(cl, Client_Working);
if (*opt_piggyback)
ZOOM_connection_option_set(link, "piggyback", opt_piggyback);
if (*opt_piggyback)
ZOOM_connection_option_set(link, "piggyback", opt_piggyback);
if (se->sorted_results->next)
{
ZOOM_query_destroy(q);
if (se->sorted_results->next)
{
ZOOM_query_destroy(q);
- client_set_state_nb(cl, Client_Idle);
+ client_set_state(cl, Client_Working);
cl->hits = 0;
cl->record_offset = 0;
rs = ZOOM_connection_search(link, q);
cl->hits = 0;
cl->record_offset = 0;
rs = ZOOM_connection_search(link, q);