Skip incoming results from inactive clients
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 9 Jan 2012 11:11:58 +0000 (12:11 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 9 Jan 2012 11:14:03 +0000 (12:14 +0100)
commit6aed90d2cb69a71e6510475982d56933fb401606
treeebb9a3fda4ce9cc9dec2a2a49dd01247ab124a7f
parent405c024aa13c4a2659d33131a72acc95538547b3
Skip incoming results from inactive clients

For search with a filter an existing clients that are active and
becomes filtered out (inactive, but cached) Pazpar2 would still accept
record ingestion .. This patch fixes that. We mark session=0 in
clients that are not selected for a search (not active, but cached).
src/session.c