From: Adam Dickmeiss Date: Mon, 30 Apr 2012 09:39:20 +0000 (+0200) Subject: multi: relays user info for first rejected target X-Git-Tag: v1.3.35~7^2~1 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=a61bc43a600095cd5066021f5239a25e78eff082;p=metaproxy-moved-to-github.git multi: relays user info for first rejected target The other-information field for init response for first rejected target is in common init response. This ensures that some backend init diagnostics are returned to the frontend. --- diff --git a/src/filter_multi.cpp b/src/filter_multi.cpp index e4bea12..ccdcc4a 100644 --- a/src/filter_multi.cpp +++ b/src/filter_multi.cpp @@ -514,7 +514,12 @@ void yf::Multi::Frontend::init(mp::Package &package, Z_GDU *gdu) maximumRecordSize = *b_resp->maximumRecordSize; } else + { + if (!f_resp->userInformationField + && b_resp->userInformationField) + f_resp->userInformationField = b_resp->userInformationField; no_failed++; + } } else no_failed++;