increase max BER encoding buffer to 10 MB

This commit is contained in:
Jörg Prante 2023-03-14 17:06:52 +01:00
parent ba048d872a
commit 23b2188159
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
group = org.xbib group = org.xbib
name = z3950 name = z3950
version = 5.0.1 version = 5.0.2
org.gradle.warning.mode = ALL org.gradle.warning.mode = ALL

View file

@ -15,7 +15,7 @@ public class InputStreamBERReader implements BERReader {
private static final String ERROR = "Unexpected end in BER encoding"; private static final String ERROR = "Unexpected end in BER encoding";
private static final int MAX_BER_SIZE = 65536 * 4; private static final int MAX_BER_SIZE = 10 * 1024 * 1024;
private final InputStream inputStream; private final InputStream inputStream;