mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
larger buffer for h2g connection responses
This commit is contained in:
parent
caebf43b2e
commit
4d140a10a4
1 changed files with 1 additions and 1 deletions
|
@ -1517,7 +1517,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
try
|
||||
{
|
||||
is = new LittleEndianDataInputStream(new BufferedInputStream(ParserUtils.scrapeInputStream(uri)));
|
||||
is.mark(32768);
|
||||
is.mark(256 * 1024);
|
||||
|
||||
// quick check of status
|
||||
final int version = is.readShortReverse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue