mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
docs: give each dl and serve flag and the error envelope one owner page and tighten the cli-reference test
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Remote Session Protocol
|
||||
|
||||
The remote session protocol is the one record of the routes, login states, error codes and message
|
||||
shapes that a `--remote` client and the server share. A remote session keeps an authenticated
|
||||
service on the server between requests. The client logs in one time, then asks for titles, tracks,
|
||||
This page lists the routes, login states, error codes and message shapes that a `--remote` client
|
||||
and the server share. A remote session keeps an authenticated service on the server between
|
||||
requests. The client logs in one time, then asks for titles, tracks,
|
||||
segments and licences in the same remote session. The client downloads, decrypts and muxes.
|
||||
|
||||
The record is `unshackle/core/remote_protocol.py`: both the client (`unshackle/core/remote_service.py`,
|
||||
@@ -174,7 +174,7 @@ The server keeps remote sessions in memory. A restart loses them all.
|
||||
| Idle time | `serve.session_ttl`. Each request and each new remote session channel starts it again. A remote session does not reach it while a request works on it or while its remote session channel is open. |
|
||||
| Idle time during the login | The larger of `session_ttl` and 600 seconds, unless the client is gone. |
|
||||
| Client presence | See [Client presence](#client-presence). |
|
||||
| Remote sessions at the same time | `serve.max_sessions`. A create at the limit ends the least recently used remote session of the API key that holds the most. A remote session that a request works on goes last. |
|
||||
| Remote sessions at the same time | `serve.max_sessions`. A create at the limit ends one remote session: [`max_sessions`](../../reference/configuration/services.md#serve) gives which one. |
|
||||
| Sweep | Every 5 seconds the server ends each expired remote session. |
|
||||
|
||||
[`serve`](../../reference/configuration/services.md#serve) in the configuration reference gives
|
||||
|
||||
Reference in New Issue
Block a user