Found the cause:
This is the fix:
return if (inputStream.available() == 0) -1 else inputStream.available().toLong()
Thanks for reporting. Will create an ticket for it tomorrow and provide the mentioned fix.
Found the cause:
This is the fix:
return if (inputStream.available() == 0) -1 else inputStream.available().toLong()
Thanks for reporting. Will create an ticket for it tomorrow and provide the mentioned fix.