Close the socket without creating the redirection, this client did not successfully downloaded the image file. Moreover, check for connection closed by client in all of the possible read states. |
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
README | ||
configure.ac | ||
tiptorrent@.service |
README
1) Compile: make 2) Run (serving files in the local folder): ./tiptorrent 3) Generate test file dd if=/dev/random of=TEST ... ctrl-c whenever you like ... md5sum TEST 4) Test (on a different terminal) wget http://localhost:9999/TEST Now check that downloaded file is the same: md5sum TEST