Pick tarpit content by request path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e48b6bb832
commit
13468bbdf9
18 files changed
+307
-9
No files matched your search
@@ -64,6 +64,14 @@
|
||||
</SettingsField>
|
||||
</div>
|
||||
|
||||
<label class="switch-row">
|
||||
<InputCheckbox class="switch" @bind-Value="Model!.MatchPath" />
|
||||
<span>
|
||||
<strong>Inhalt zum Pfad passend wählen</strong>
|
||||
<span class="muted">Anfragen wie /.env, /config.json, /sitemap.xml oder /backup.sql bekommen passend aussehenden Inhalt statt einer Webseite.</span>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<div class="estimate">
|
||||
<span class="estimate-value">Ø <strong id="drip-bandwidth">@Bandwidth</strong> Bytes/s</span>
|
||||
<span class="muted">pro gefangener Verbindung, berechnet aus Pausen und Paketgrößen</span>
|
||||
@@ -129,6 +137,7 @@
|
||||
Model.MinChunkSize,
|
||||
Model.MaxChunkSize,
|
||||
Model.HeadStartSize,
|
||||
Model.MatchPath,
|
||||
Model.MaxHoldDuration));
|
||||
|
||||
if (result.Settings is null)
|
||||
@@ -158,6 +167,7 @@
|
||||
MinChunkSize = drip.MinChunkSize.ToString(CultureInfo.InvariantCulture),
|
||||
MaxChunkSize = drip.MaxChunkSize.ToString(CultureInfo.InvariantCulture),
|
||||
HeadStartSize = drip.HeadStartSize.ToString(CultureInfo.InvariantCulture),
|
||||
MatchPath = drip.MatchPath,
|
||||
MaxHoldDuration = Core.CurrentValue.MaxHoldDuration.ToString("c", CultureInfo.InvariantCulture)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user