From ecf27443efef0edd3c99eb77078029c21078b0b5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 5 Sep 2012 09:22:50 +0200 Subject: [PATCH] Init message size from 1 MB to 64 MB That's for he InitRequest that is sent to the backend target. --- src/yaz-proxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index c112eb6..abac9b4 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -3389,10 +3389,10 @@ void Yaz_Proxy::handle_init(Z_APDU *apdu) m_initRequest_preferredMessageSize = *apdu->u.initRequest-> preferredMessageSize; - *apdu->u.initRequest->preferredMessageSize = 1024*1024; + *apdu->u.initRequest->preferredMessageSize = 64*1024*1024; m_initRequest_maximumRecordSize = *apdu->u.initRequest-> maximumRecordSize; - *apdu->u.initRequest->maximumRecordSize = 1024*1024; + *apdu->u.initRequest->maximumRecordSize = 64*1024*1024; Z_CharSetandLanguageNegotiation *charSetandLangRecord = yaz_get_charneg_record(*oi); -- 1.7.10.4