summaryrefslogtreecommitdiffstats
path: root/src/core.c
Commit message (Collapse)AuthorAgeFilesLines
* update num_clients and redirection only for large filestiptorrent development team2021-09-291-2/+3
| | | | Skip num_clients and redirection update for small files.
* add support for HEAD methodtiptorrent development team2021-09-291-8/+14
|
* add a close wait statetiptorrent development team2021-09-291-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 statetiptorrent development team2021-09-291-2/+4
| | | | Specify what client has trigger the unknown internal state
* do not display an error when recv() == 0tiptorrent development team2021-09-291-7/+4
| | | | This is the client closing the connection with us.
* call shutdown() before close()tiptorrent development team2021-09-291-0/+1
|
* activate pending clients only for large filestiptorrent development team2021-09-291-2/+4
| | | | | small files should not activate pending clients, otherwise max_clients is not fulfilled.
* add more logging for easier debuggingtiptorrent development team2021-09-291-5/+15
|
* initial committiptorrent development team2021-09-291-0/+440