ServerSettings

Specifies server settings for KAV HTTPD.

Path

ServerSettings

Attributes

This element has no attributes.

Nested elements

This element is a container for the following nested elements:

Example

The following is an example of a ServerSettings element.

<ServerSettings>

<ConnectionString>/tmp/.kavhttpd</ConnectionString>

<MaxIncomingConnectionsNum>100</MaxIncomingConnectionsNum>

<MaxHTTPSessionsNum>50</MaxHTTPSessionsNum>

<MaxTCPFileSize>100</MaxTCPFileSize>

<SessionTimeout>1000</SessionTimeout>

<Flags>KAV_SHT_ENGINE_KSN | KAV_SHT_ENGINE_APUF</Flags>

<TlsCertificateKeyFile>opt/kaspersky/http_data/https_key.pem</TlsCertificateKeyFile>

<TlsCertificateFile>opt/kaspersky/http_data/https_cert.crt</TlsCertificateFile>

<CORS>

<AccessControlAllowOrigin>http://example.com</AccessControlAllowOrigin>

<AccessControlAllowOrigin>https://kaspersky.com</AccessControlAllowOrigin>

</CORS>

<KeepAliveSettings>

<Enabled>1</Enabled>

<TimeoutMs>5000</TimeoutMs>

<MaxRequests>1000</MaxRequests>

</KeepAliveSettings>

</ServerSettings>

Page top