Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use strrchr to take last dot that specifies the chunk number | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | | | | | file might have a extension starting by dot, use strrchr to get the last dot that specifies the chunk number | ||||
* | download checksum file directly from server | tiptorrent development team | 2021-09-29 | 1 | -1/+7 |
| | | | | Remove assumption on small file to shortcircuit the redirect logic. | ||||
* | skip runtime chunk split if --redirect is not set | tiptorrent development team | 2021-09-29 | 1 | -0/+6 |
| | |||||
* | fix chunk size split logic | tiptorrent development team | 2021-09-29 | 1 | -11/+7 |
| | | | | Add remainder bytes to the last chunk instead. | ||||
* | add basic uri sanitization | tiptorrent development team | 2021-09-29 | 1 | -1/+4 |
| | | | | disallow .. in uri. | ||||
* | runtime split original file into chunks | tiptorrent development team | 2021-09-29 | 1 | -5/+69 |
| | | | | No need to split the original file on the server side. | ||||
* | do not activate clients without redirection via POST | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | | | | | update 4573deb8cb3 to skip clients without redirection after receiving POST notification. | ||||
* | allow to report that a client allows redirection with POST method | tiptorrent development team | 2021-09-29 | 1 | -1/+18 |
| | | | | | | | | | If clients sends POST /test, it notifies the server that it is available for receive redirections from file 'test'. Test it with wget: wget --post-data '' http://localhost:9999/TEST -O /dev/null | ||||
* | do not shadow global redirect variable | tiptorrent development team | 2021-09-29 | 1 | -3/+3 |
| | |||||
* | check sendfile error | tiptorrent development team | 2021-09-29 | 1 | -1/+2 |
| | |||||
* | update num_clients and redirection only for large files | tiptorrent development team | 2021-09-29 | 1 | -7/+9 |
| | | | | Skip num_clients and redirection update for small files. | ||||
* | add support for HEAD method | tiptorrent development team | 2021-09-29 | 1 | -3/+19 |
| | |||||
* | add a close wait state | tiptorrent development team | 2021-09-29 | 1 | -1/+3 |
| | | | | | | | | | Wait for clients to close the connection, then: - create redirection. - activate pending clients. Do no refresh timeout while in close wait state. | ||||
* | activate pending clients only for large files | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | | | | | small files should not activate pending clients, otherwise max_clients is not fulfilled. | ||||
* | initial commit | tiptorrent development team | 2021-09-29 | 1 | -0/+155 |