increase max BER encoding buffer to 10 MB
This commit is contained in:
parent
ba048d872a
commit
23b2188159
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue