• Okay, I've figured it out.
    This line causes the issue:
    s.write("index", "", 0, 15014);
    If I put the length attribute to the first chunk of the actual data it works as intended. I don't know if it's a bug or intentional, but now it works correctly. Strange that with the small example it's not an issue.

About

Avatar for nistvan.86 @nistvan.86 started