aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid_traffic.xml
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-12 21:43:15 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-12 21:43:15 +0000
commit59638ee05f22a4fc12caf0fd257c8115945e6340 (patch)
treec7780de270a1408fa03fb889849dc22e462c281a /packages/squid/squid_traffic.xml
parent93627c7dfc5af6dfd9a0175800aa0fdd6986fbe3 (diff)
downloadpfsense-packages-59638ee05f22a4fc12caf0fd257c8115945e6340.tar.gz
pfsense-packages-59638ee05f22a4fc12caf0fd257c8115945e6340.tar.bz2
pfsense-packages-59638ee05f22a4fc12caf0fd257c8115945e6340.zip
squid: allow to tune the finish / abort transfer when aborted by client - settings
Diffstat (limited to 'packages/squid/squid_traffic.xml')
-rw-r--r--packages/squid/squid_traffic.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/squid/squid_traffic.xml b/packages/squid/squid_traffic.xml
index 1556be66..1330cac9 100644
--- a/packages/squid/squid_traffic.xml
+++ b/packages/squid/squid_traffic.xml
@@ -146,6 +146,27 @@
<type>input</type>
<size>60</size>
</field>
+ <field>
+ <fielddescr>Finish transfer if less than x KB remaining</fielddescr>
+ <fieldname>quick_abort_min</fieldname>
+ <description>If the transfer has less than x KB remaining, it will finish the retrieval. Set to 0 to abort the transfer immediately.</description>
+ <type>input</type>
+ <default_value>0</default_value>
+ </field>
+ <field>
+ <fielddescr>Abort transfer if more than x KB remaining</fielddescr>
+ <fieldname>quick_abort_max</fieldname>
+ <description>If the transfer has more than x KB remaining, it will abort the retrieval. Set to 0 to abort the transfer immediately.</description>
+ <type>input</type>
+ <default_value>0</default_value>
+ </field>
+ <field>
+ <fielddescr>Finish transfer if more than x % finished</fielddescr>
+ <fieldname>quick_abort_pct</fieldname>
+ <description>If more than x % of the transfer has completed, it will finish the retrieval.</description>
+ <type>input</type>
+ <default_value>0</default_value>
+ </field>
</fields>
<custom_php_validation_command>
squid_validate_traffic($_POST, &amp;$input_errors);