From 9f6426850c666fe89ac56d7d0e4fe445d4a5842e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 Aug 2011 22:22:57 +0200 Subject: [PATCH] zoom: honor piggyback setting Makes some SRU targets behave that insist on maximumRecords > 0, but also increases performance. --- src/filter_zoom.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 1c2ff9a..8d623d4 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -738,6 +738,9 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases( if (m_p->apdu_log) b->set_option("apdulog", "1"); + if (sptr->piggyback) + b->set_option("count", "10"); + std::string authentication = sptr->authentication; std::string proxy = sptr->cfProxy; -- 1.7.10.4