Specifies Partial mode (Data Trickling) for the files that are sent to the proxy server. This mode allows the scanning of files as a whole and partially sending them to a user before the scan is finished. Object transferring starts after as many seconds after the object receiving starts as specified in the Delay
attribute and is performed in chunks. Notice that no more than one chunk per second is transferred. This feature is necessary to prevent a user's browser from interrupting the connection to the proxy server due to the timeout.
Path
ICAPSettings > TransferBeforeScanEnding
Attributes
This element has the following attributes.
TransferBeforeScanEnding element attributes
Attribute |
Description |
---|---|
|
The interval (in seconds) between the start of receiving an object and the start of sending its first chunk. Optional attribute. The range of possible values is from 1 to 3600. The preset value is |
|
Size of the transferred chunks in the period between the start of receiving the object and the end of scanning. Since chunks are transferred no more than one per second, Optional attribute. The range of possible values is from 1 to 1024. The preset value is |
|
Specifies how re-download attempts from a user's browser must be handled in the Partial mode. This feature is necessary to prevent a user's browser from automatically re-downloading the blocked files. The re-downloading prevention mechanism works only when the You can specify one of the following values for the attribute:
If this attribute is omitted, the re-downloading prevention mechanism is enabled. |
|
Maximum cache size for blocked URLs, in KB. This is the maximum amount of RAM that can be allocated for a blocked URL's cache. The range of possible values is from 1 to 100000. The preset value is If this attribute is omitted, the preset value is used. |
|
Lifetime for blocked URLs in the cache, in seconds. The range of possible values is from 1 to 604800 (one week). The preset value is If this attribute is omitted, the preset value is used. |
Choose the appropriate values for the ChunkSize
and the Delay
attributes. Therefore, it is not recommended to specify a too large ChunkSize
value and a too small Delay
value. If this recommendation is not followed, the scanned object can be sent almost wholly (without the last chunk) long before the end of the scan and the user's browser will interrupt the connection.
Possible values
This element has the following possible values.
TransferBeforeScanEnding element possible values
Value |
Description |
---|---|
|
The file is sent only after the scanning ends. This value is preset. |
|
The file can be sent before the scanning ends. |
Example
The following is an example of this element.
<TransferBeforeScanEnding Delay="10" ChunkSize="4" BlockedURLCacheEnabled="1" BlockedURLCacheKb="5000" BlockedURLCacheTtlSec="1800">1</TransferBeforeScanEnding> |