mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 09:15:32 +00:00
Document additional semantics.
This commit is contained in:
@ -483,6 +483,13 @@ For example::
|
|||||||
|
|
||||||
The upload secret is an opaque _byte_ string.
|
The upload secret is an opaque _byte_ string.
|
||||||
|
|
||||||
|
Handling repeat calls:
|
||||||
|
|
||||||
|
* If the same API call is repeated with the same upload secret, the response is the same and no change is made to server state.
|
||||||
|
This is necessary to ensure retries work in the face of lost responses from the server.
|
||||||
|
* If the API calls is with a different upload secret, this implies a new client, perhaps because the old client died.
|
||||||
|
In this case, all relevant in-progress uploads are canceled, and then the command is handled as usual.
|
||||||
|
|
||||||
Discussion
|
Discussion
|
||||||
``````````
|
``````````
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user