Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add a close wait state | tiptorrent development team | 2021-09-29 | 3 | -9/+27 | |
| | | | | | | | | | 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 | 3 | -3/+10 | |
| | | | | | small files should not activate pending clients, otherwise max_clients is not fulfilled. | |||||
* | use off_t instead of size_t for file size | tiptorrent development team | 2021-09-29 | 1 | -1/+1 | |
| | | | | | stat() st_size datatype is off_t which is for file size, use off_t instead of size_t for correctness. | |||||
* | Add ULL postfix to FILE_SIZE_THRESHOLD to avoid using int | tiptorrent development team | 2021-09-29 | 1 | -1/+1 | |
| | | | | | Otherwise, cli->size > FILE_SIZE_THRESHOLD uses 32-bit integer which overflows with very large files. Use ULL to enforce 64-bits. | |||||
* | add more logging for easier debugging | tiptorrent development team | 2021-09-29 | 1 | -5/+15 | |
| | ||||||
* | fix typo in tests/network-setup.sh | tiptorrent development team | 2021-09-29 | 1 | -1/+1 | |
| | ||||||
* | initial commit | tiptorrent development team | 2021-09-29 | 11 | -0/+1152 | |