It fixed the issue in my codebase and I verified it through some custom logs (I received a smaller sized last chunk and it recovered correctly by requesting the chunk again, without raising any failure exception).
However, I am not able to write a test case able to replicate the reception of a wrong sized chunk, any help or indication would be much appreciated
Fixed the bug discussed in #19
It fixed the issue in my codebase and I verified it through some custom logs (I received a smaller sized last chunk and it recovered correctly by requesting the chunk again, without raising any failure exception).
However, I am not able to write a test case able to replicate the reception of a wrong sized chunk, any help or indication would be much appreciated
Hope it helps,