a44ca1a76c
Converted all ecf files to ecf version 1-16-0 .
2017-02-14 14:47:07 +01:00
b93cb17f7c
Added readme files to the examples.
...
Minor changes in various ecf file and code.
Moved filter example under _update_needed since it has obsolete code.
2017-02-14 11:21:32 +01:00
b56aec67a9
Updated, improved and cleaned RESTbucks example.
...
Moved it under "rest" subfolder.
2017-02-13 16:23:38 +01:00
a44c4d9a16
Minor changes.
2017-02-12 12:42:25 +01:00
0786f1700f
Added an example demonstrating the WSF_FORM component from wsf_html library.
2017-02-09 16:19:22 +01:00
08440b5c0c
Use WSF_REQUEST.absolute_script_url (...) to compute expected url.
2017-01-26 22:26:45 +01:00
1b24fb63f7
Fixed temporary restbucks example.
...
- use concurrency none to workaround a concurrency issue of DB_ACCESS
- use console_application for convenience
- use default http client, to use net implementation if curl is not available.
2017-01-26 09:52:44 +01:00
c70d3124df
Updated tutorial ecf files to compile with 16.05 and upcoming release.
2016-12-06 12:29:17 +01:00
cad33e124d
Fixed a few compilation issue with 16.11 .
2016-12-06 12:15:36 +01:00
f56aa22c29
Fixed compilation of proxy and simple examples.
...
Made the websocket client library scoop capable.
2016-12-05 15:56:46 +01:00
186e5514eb
If the count for put_file_content is not positive (i.e <= 0), do not send anything.
...
Output/log more information for request handling when standalone httpd server has verbose enabled.
2016-12-01 21:20:14 +01:00
9fd53b9b1f
Fixed debug.ecf file from debug example.
2016-12-01 21:08:13 +01:00
c2202e82f6
Fixed compilation of desktop app example.
2016-12-01 18:43:22 +01:00
9e5fec9c34
Removed unwanted files.
2016-12-01 15:02:40 +01:00
ca8f95a594
Made library ecf compilable in scoop concurrency mode by default.
...
So ecf files are compilable with 16.05 and 16.11 .
2016-12-01 14:56:56 +01:00
5a9ccce558
Made library ecf compilable in scoop concurrency mode by default.
...
Except nino related projects that depends on EiffelThread.
2016-11-01 14:30:19 +01:00
193f22ebc8
Fixed wsf tests project.
...
Added ini config support to simple_file example.
2016-10-25 15:22:18 +02:00
c34f89df9b
Added connection header related functions.
...
- WSF_REQUEST.is_keep_alive_http_connection: BOOLEAN
- HTTP_HEADER_MODIFIER.put_connection_keep_alive
- HTTP_HEADER_MODIFIER.put_connection_close
In Standalone request handler code, better detection of Connection: keep-alive header.
2016-10-18 13:22:32 +02:00
b8aee435dd
Updated simple_ssl example to use directly the standalone connector,
...
and use the new WSF_STANDALONE_SERVICE_OPTIONS class.
Added WSF_STANDALONE_SERVICE to make it easy to use directly.
2016-10-14 15:13:27 +02:00
Jocelyn Fiat
a4d737d548
Be sure to use ecf custom variable "ssl_enabled" and not the variant "httpd_ssl_enabled" or else.
...
Include again the openssl include folder for EiffelStudio before 16.11, otherwise eif_openssl is not found.
2016-10-14 14:32:04 +02:00
78f24ecb37
Updated ws.ini (for now, keep is_secure False, due to remaining issue with websocket and SSL implementation).
2016-10-14 13:11:26 +02:00
d4ec640ac8
Renamed many classes and feature to use "secure" term instead of "ssl". (note, the .ecf are still using the "ssl" terminologie).
...
Provided easy way to set secure settings for Standalone.
For wsf launcher boolean option accept "true" or "yes" for True boolean, anything else is False.
2016-10-14 11:52:48 +02:00
57b1691243
Added support for debug.ini to debug example.
2016-10-12 11:19:54 +02:00
2cfe00e61b
Updated desktop_app example with embedded standalone web server.
2016-10-11 17:30:50 +02:00
a498a167ed
Updated desktop application example for scoop concurrency mode.
2016-10-11 16:20:04 +02:00
f12158e535
Use the ..._noexception network features in the WGI standalone input and output classes.
2016-10-11 10:57:05 +02:00
56819d6793
Replace Nino by Standalone whenever it is relevant.
2016-10-08 01:02:12 +02:00
77085364ee
Improve socket management for EiffelWeb standalone connector.
2016-10-04 18:49:48 +02:00
21407f8dcf
Fixed SSL support on the httpd component, and also on the EiffelWeb standalone connector.
...
- 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.
2016-09-27 16:11:47 +02:00
5029049ef0
Replaced host+port by uri ( http://remotemachine:port/path ).
...
Added support for SSL (https).
2016-08-08 12:30:28 +02:00
210fae5000
First step towards SSL support.
2016-08-06 10:04:45 +02:00
9cc9b95190
Added a simple reverse proxy handler.
...
- For now, it does not support SSL connection on the target yet.
- No external config file support, this is all about coding.
2016-08-05 11:38:35 +02:00
1b951376f9
Added more application logic for the example.
2016-06-22 10:52:36 +02:00
193cc3cbde
Renamed WGI_STANDALONE_CONNECTOR_ACCESS as WGI_STANDALONE_CONNECTOR_EXPORTER.
...
Isolate the websocket implementation in descendant of {WEB_SOCKET_EVENT_I}.
Added very simple echo websocket example.
+ code cleaning.
2016-06-22 10:46:15 +02:00
113aa69efc
Added advanced settings for standalone connector
...
- max_concurrent_connections=100
- keep_alive_timeout=15
- max_tcp_clients=100
- socket_timeout=300
- max_keep_alive_requests=300
And then can be set via the options as well, and via .ini file.
Also improved the verbose console output system.
2016-06-15 09:19:23 +02:00
af5fc75743
Using passive regions.
...
Improve connector options mainly for standalone connector.
Updated "simple" example to return a timestamp.
2016-06-14 16:01:37 +02:00
Jocelyn Fiat
e53c960a89
Added libfcgi target, in addition to standalone target for the upload_image example.
2016-05-31 22:24:26 +02:00
4482520a86
Removed useless library declarations.
2016-02-03 15:12:54 +01:00
1a4db1d7c6
Eiffel code and ECFs update to support new agent notations.
...
Removed contrib/library/.../json library.
2016-01-18 16:41:10 +01:00
4f8f17ad48
Fixed various compilation issues.
...
Ensure the obsolete/v0 ecf has new UUID.
2015-07-03 20:02:13 +02:00
ab0bc7b314
Marked most of the *_with_request_methods procedure obsolete by the same feature name without the "_with_request_methods".
...
Added argument passing request methods to feature without the _with_request_methods.
Prefer "thread" concurrency for now in examples.
2015-06-10 17:52:26 +02:00
0e3e97a7fd
Added a few example based on the obsolete libraries (v0).
...
Updated the tutorial example.
Added WSF_MESSAGE_EXECUTION.
2015-06-10 16:49:23 +02:00
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
8ea443c115
Added abstraction WSF_ROUTED, and WSF_FILTERED.
...
Added under library/server/obsolete/v0 the previous non concurrent friendly version of EWF/WSF, for backward compatiblity.
Removed WSF_CALLBACK_SERVICE and WSF_TO_WGI_SERVICE which are not need with new EWF.
2015-05-06 22:17:37 +02:00
20ed000879
Added a few descriptions and comments.
2015-05-06 22:16:57 +02:00
9d20e85c03
Improved the simple_file example with image, and not found message.
...
Use standalone connector in SCOOP concurrency mode.
2015-05-06 22:15:50 +02:00
48cb99498c
Cleaned simple example, and made the standalone target with SCOOP concurrency.
2015-05-06 22:15:48 +02:00
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00
b4a9c92ffc
Migrated simple, simple_file and upload_image example.
...
Adapted EWF accordingly.
2015-05-06 22:14:48 +02:00
bf0eb9a02d
Added SCOOP support for WSF.
...
WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION.
Todo: code cleaning, removing useless things.
2015-05-06 22:13:22 +02:00