Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rise redirection timeout to 3600 seconds | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | increase timeout for redirections | tiptorrent development team | 2021-09-29 | 1 | -1/+3 |
| | | | | available redirections expire after 5 minutes. | ||||
* | allow to report that a client allows redirection with POST method | tiptorrent development team | 2021-09-29 | 1 | -6/+2 |
| | | | | | | | | | 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 | ||||
* | fix bogus error if clients closes connection unexpectly | tiptorrent development team | 2021-09-29 | 1 | -0/+10 |
| | | | | | | Reports a bogus: unknown read state 5, critical internal error for 127.0.0.1:60610 | ||||
* | remove duplicate log when resuming from pending and being redirected | tiptorrent development team | 2021-09-29 | 1 | -5/+1 |
| | |||||
* | another log rewrite | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | improve logging | tiptorrent development team | 2021-09-29 | 1 | -11/+11 |
| | | | | | | | Report "client %s:%hu starts download for %s" when the file transfer really starts. Replace log when redirection after pending state is not available | ||||
* | specify current state when displaying unknown error | tiptorrent development team | 2021-09-29 | 1 | -4/+4 |
| | |||||
* | allow to reuse redirections | tiptorrent development team | 2021-09-29 | 1 | -3/+9 |
| | | | | A redirection can be reused up to max_clients times. | ||||
* | disarm timer on release | tiptorrent development team | 2021-09-29 | 1 | -2/+1 |
| | | | | This is a repeat timer, if not stopped, it will run again triggering UAF. | ||||
* | fix client timeout | tiptorrent development team | 2021-09-29 | 1 | -4/+5 |
| | | | | as described by man(3) ev, to make it work with ev_timer_again(). | ||||
* | update num_clients and redirection only for large files | tiptorrent development team | 2021-09-29 | 1 | -2/+3 |
| | | | | Skip num_clients and redirection update for small files. | ||||
* | add support for HEAD method | tiptorrent development team | 2021-09-29 | 1 | -8/+14 |
| | |||||
* | add a close wait state | tiptorrent development team | 2021-09-29 | 1 | -8/+23 |
| | | | | | | | | | Wait for clients to close the connection, then: - create redirection. - activate pending clients. Do no refresh timeout while in close wait state. | ||||
* | extend log on unknown internal state | tiptorrent development team | 2021-09-29 | 1 | -2/+4 |
| | | | | Specify what client has trigger the unknown internal state | ||||
* | do not display an error when recv() == 0 | tiptorrent development team | 2021-09-29 | 1 | -7/+4 |
| | | | | This is the client closing the connection with us. | ||||
* | call shutdown() before close() | tiptorrent development team | 2021-09-29 | 1 | -0/+1 |
| | |||||
* | activate pending clients only for large files | tiptorrent development team | 2021-09-29 | 1 | -2/+4 |
| | | | | | small files should not activate pending clients, otherwise max_clients is not fulfilled. | ||||
* | add more logging for easier debugging | tiptorrent development team | 2021-09-29 | 1 | -5/+15 |
| | |||||
* | initial commit | tiptorrent development team | 2021-09-29 | 1 | -0/+440 |