- the standalone connector support for SSL, is using certicate files for now (no in-memory support).
- to enable ssl support, set ecf variable `httpd_ssl_enabled=true`.
- added the `simple_ssl` example to demonstrate how to have standalone ssl server.
(be careful when using EiffelNet SSL and the http_client library, disable the libcurl
via ecf variable `libcurl_http_client_disabled=true` )
Added support for recv timeout to the EiffelWeb standalone connector.
- made EiffelWeb compilable with 16.05 and upcoming 16.11.
Done via ecfs condition on version to accept EiffelNet with recv_timeout (from 16.11), and without (until 16.05).
- adding recv timeout prevents server to hang for ever if a client wait too long to send data.
Updated various comments.
28 lines
1.6 KiB
XML
28 lines
1.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-15-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-15-0 http://www.eiffel.com/developers/xml/configuration-1-15-0.xsd" name="simple_ssl" uuid="C2FE296C-3C18-4609-A5AB-F604BDEE4410" library_target="simple_ssl">
|
|
<target name="simple_ssl">
|
|
<description>Simple EiffelWeb standalone server with SSL support (Concurrent connection supported thanks to SCOOP).</description>
|
|
<root class="APPLICATION" feature="make_and_launch"/>
|
|
<file_rule>
|
|
<exclude>/.svn$</exclude>
|
|
<exclude>/CVS$</exclude>
|
|
<exclude>/EIFGENs$</exclude>
|
|
</file_rule>
|
|
<option warning="true" is_attached_by_default="true" void_safety="all" syntax="transitional">
|
|
<assertions/>
|
|
</option>
|
|
<setting name="console_application" value="true"/>
|
|
<setting name="concurrency" value="scoop"/>
|
|
<variable name="httpd_ssl_enabled" value="true"/>
|
|
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
|
<library name="default_standalone" location="..\..\library\server\wsf\default\standalone-safe.ecf"/>
|
|
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
|
|
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf"/>
|
|
<cluster name="simple" location=".\" recursive="true"/>
|
|
</target>
|
|
<target name="simple_ssl_st" extends="simple_ssl">
|
|
<description>Simple EiffelWeb standalone server with SSL support (Single threaded, thus no concurrent connection.)</description>
|
|
<setting name="concurrency" value="none"/>
|
|
</target>
|
|
</system>
|