You should not be sending the final null, or the length, this can be determined from the size of the total data.
My bad; I misinterpreted your previous feedback to mean I should send a length.
And could you please avoid updating your MR every day even if nothing changed? It makes it hard to notice actual changes, and wastes CI resources. Thanks.
This time I did clean up some whitespace mistakes and a leftover include from when I was using `dirname`, but I'll stop committing the rebases if I make no other changes.