Warning: as there is no concurrent request handling in single threaded mode,
it is recommended to either set the keep_alive_timeout to a small value,
or disable persistent connection by setting max_keep_alive_requests to 0.
Change the default keep_alive_timeout from 15 to 5 seconds.
Accept -1 as value of max_keep_alive_requests to have unlimited number of request in the same persistent connection.
32 lines
1.7 KiB
XML
32 lines
1.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-16-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-16-0 http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd" name="websocket_app" uuid="75D17C20-10A8-4E4C-A059-33D72A2B6AEF">
|
|
<target name="websocket_app">
|
|
<root class="APPLICATION" feature="make_and_launch"/>
|
|
<file_rule>
|
|
<exclude>/CVS$</exclude>
|
|
<exclude>/EIFGENs$</exclude>
|
|
<exclude>/\.svn$</exclude>
|
|
</file_rule>
|
|
<option warning="true">
|
|
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
|
</option>
|
|
<setting name="console_application" value="true"/>
|
|
<library name="base" location="$ISE_LIBRARY\library\base\base.ecf"/>
|
|
<library name="http" location="..\..\library\network\protocol\http\http.ecf"/>
|
|
<library name="standalone_websocket_connector" location="..\..\library\server\wsf\connector\standalone_websocket.ecf" readonly="false"/>
|
|
<library name="wsf" location="..\..\library\server\wsf\wsf.ecf"/>
|
|
<cluster name="app" location=".\" recursive="true"/>
|
|
</target>
|
|
<target name="websocket_app_st" extends="websocket_app">
|
|
<description>Single thread solution.
|
|
Warning: as it can not handle concurrent request, it is recommended to set Keep-Alive-Timeout to very low value, as browser will keep persistent connection open too long.
|
|
</description>
|
|
<capability>
|
|
<concurrency use="none"/>
|
|
</capability>
|
|
</target>
|
|
<target name="websocket_app_ssl" extends="websocket_app">
|
|
<variable name="ssl_enabled" value="true"/>
|
|
</target>
|
|
</system>
|