| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Wait for clients to close the connection, then:
- create redirection.
- activate pending clients.
Do no refresh timeout while in close wait state.
|
|
|
|
|
| |
small files should not activate pending clients, otherwise max_clients
is not fulfilled.
|
|
|
|
|
| |
stat() st_size datatype is off_t which is for file size, use off_t
instead of size_t for correctness.
|
|
|
|
|
| |
Otherwise, cli->size > FILE_SIZE_THRESHOLD uses 32-bit integer which
overflows with very large files. Use ULL to enforce 64-bits.
|
|
|