mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
Deployed 8cf915fd with MkDocs version: 1.6.1
This commit is contained in:
@@ -2236,6 +2236,9 @@ have their own key: a user key or a tier key never opens them.</p>
|
||||
</span><span id="__span-0-4"><a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="w"> </span><span class="nt">key</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">a-long-random-string</span>
|
||||
</span></code></pre></div>
|
||||
<p>Without <code>dashboard.key</code> the server does not register the routes, and they answer <code>404</code>.
|
||||
A config reload that removes the dashboard key closes the dashboard: the routes answer <code>404</code> and
|
||||
an open <code>/api/dashboard/events</code> connection ends. To add a dashboard key to a server that started
|
||||
without one, restart it.
|
||||
<code>serve --no-key</code> turns off user authentication only; the dashboard key stays required.
|
||||
Once the dashboard key is set, every <code>/api/dashboard/</code> request must carry it in
|
||||
<code>X-Secret-Key</code>.
|
||||
|
||||
@@ -3241,7 +3241,7 @@ suffix, which is the <code>Cacher</code> cache key the service reads it with:</p
|
||||
<p>Both sides reject a cache key with a drive letter, a root, a <code>..</code> segment, an empty
|
||||
segment, or more than 8 segments before it becomes a path, so a peer cannot write
|
||||
outside the cache directory. Both sides also refuse a <code>cache</code> map with more than
|
||||
256 entries, and the server refuses the request body of a remote session creation or of a search when it is larger than 8 MiB. The client gives a warning when it has more than 256 cache files to send. The server skips a cache key it cannot write, such as one that names an
|
||||
256 entries, and the server refuses the request body of a remote session creation or of a search when it is larger than 8 MiB. The server also refuses a <code>cache</code> map whose files inflate to more than 16 MiB in total, with <code>400 INVALID_INPUT</code>. It checks every entry before it writes a file, and it removes the cache directory of a remote session creation that fails. The client gives a warning when it has more than 256 cache files or more than 16 MiB to send. It also stops saving the cache files that a server returns at 16 MiB. The server skips a cache key it cannot write, such as one that names an
|
||||
existing file as a directory, and logs a warning.</p>
|
||||
<h3 id="remote-session-info-response">Remote session info response<a class="headerlink" href="#remote-session-info-response" title="Permanent link">¶</a></h3>
|
||||
<p><code>GET /api/session/{id}</code>:</p>
|
||||
|
||||
Reference in New Issue
Block a user