при потоке p2p туда-сюда с файлового сервера вовне ИНОГДА
The realloc() function changes the size of the memory block pointed to by ptr to size bytes. The con‐
tents of the memory will be unchanged in the range from the start of the region up to the minimum of
the old and new sizes. If the new size is larger than the old size, the added memory will not be ini‐
tialized.