Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |