diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-10 17:06:35 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-29 15:48:11 +0200 |
commit | d6dbb6c979bc785e501cf109a7d155635b1647ea (patch) | |
tree | 2ccbde66d426ee9a32cad4c73f95d1726254b6ef /src/core.h | |
parent | b7b410ddc2b84c06801bc2b2320bbeaf7f3fa936 (diff) |
add a close wait state
Wait for clients to close the connection, then:
- create redirection.
- activate pending clients.
Do no refresh timeout while in close wait state.
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ enum tip_client_state { TIP_CLIENT_PROCESSING_REQUEST, TIP_CLIENT_PROCESSING_REQUEST_2, TIP_CLIENT_PROCESSING_REQUEST_3, + TIP_CLIENT_CLOSE_WAIT, }; struct tip_client { |