Jocelyn Fiat
a7d0398ec6
Introduce WSF_COMPRESSION and applied to WSF_*_WITH_COMPRESSION classes.
...
Modified the example to send the file with or without compression.
2017-09-01 18:59:18 +02:00
jvelilla
e735da1bcb
Merge branch 'ewf_compression' of https://github.com/jocelyn/EWF into ewf_compression_2017
2017-08-18 09:52:03 -03:00
Jocelyn Fiat
88dec34a1e
Made "common" targets as abstract.
2017-05-12 14:39:48 +02:00
Jocelyn Fiat
a928f27b1a
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:31:35 +02:00
Jocelyn Fiat
3b8261ff08
Updated code regarding to string 32 vs string 8.
2017-04-14 11:45:38 +02:00
jvelilla
5d9752f257
Updated code, get rid of obsolete feature calls in libraries and examples
2017-04-13 16:48:17 -03:00
jocelyn
c160f63ddc
Updated restbuck example and fixed the policy driven variant.
2017-02-16 16:56:47 +01:00
jocelyn
ae7aeaea30
Added test to the simple db lib, and depending on config, exclude or not json or memory database.
2017-02-16 14:53:55 +01:00
jocelyn
ad3fe2fc7b
Updated restbuck example to avoid using the new (since 17.01) JSON serialization component.
2017-02-16 11:26:22 +01:00
jocelyn
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
jocelyn
b56aec67a9
Updated, improved and cleaned RESTbucks example.
...
Moved it under "rest" subfolder.
2017-02-13 16:23:38 +01:00
jocelyn
a44c4d9a16
Minor changes.
2017-02-12 12:42:25 +01:00
jocelyn
0786f1700f
Added an example demonstrating the WSF_FORM component from wsf_html library.
2017-02-09 16:19:22 +01:00
jocelyn
08440b5c0c
Use WSF_REQUEST.absolute_script_url (...) to compute expected url.
2017-01-26 22:26:45 +01:00
jocelyn
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
jocelyn
e14bb568d2
Extracted compression code from wsf, and provided new wsf_compression library.
...
Renamed features.
2016-12-06 14:18:51 +01:00
jocelyn
05d37439bc
Merge branch 'ewf_compression' of https://github.com/jvelilla/EWF into ewf_compression
2016-12-06 12:53:41 +01:00
jocelyn
c70d3124df
Updated tutorial ecf files to compile with 16.05 and upcoming release.
2016-12-06 12:29:17 +01:00
jocelyn
cad33e124d
Fixed a few compilation issue with 16.11 .
2016-12-06 12:15:36 +01:00
jocelyn
f56aa22c29
Fixed compilation of proxy and simple examples.
...
Made the websocket client library scoop capable.
2016-12-05 15:56:46 +01:00
jocelyn
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
jocelyn
9fd53b9b1f
Fixed debug.ecf file from debug example.
2016-12-01 21:08:13 +01:00
jocelyn
c2202e82f6
Fixed compilation of desktop app example.
2016-12-01 18:43:22 +01:00
jocelyn
9e5fec9c34
Removed unwanted files.
2016-12-01 15:02:40 +01:00
jocelyn
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
jvelilla
99bf552b89
Added compression support to WSF_FILE_SYSTEM_HANDLER.
...
Added a simple example using eiffel web compression.
2016-11-29 18:17:44 -03:00
jocelyn
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
jocelyn
193f22ebc8
Fixed wsf tests project.
...
Added ini config support to simple_file example.
2016-10-25 15:22:18 +02:00
jocelyn
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
jocelyn
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
jocelyn
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
jocelyn
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
jocelyn
57b1691243
Added support for debug.ini to debug example.
2016-10-12 11:19:54 +02:00
jocelyn
2cfe00e61b
Updated desktop_app example with embedded standalone web server.
2016-10-11 17:30:50 +02:00
jocelyn
a498a167ed
Updated desktop application example for scoop concurrency mode.
2016-10-11 16:20:04 +02:00
jocelyn
f12158e535
Use the ..._noexception network features in the WGI standalone input and output classes.
2016-10-11 10:57:05 +02:00
jocelyn
56819d6793
Replace Nino by Standalone whenever it is relevant.
2016-10-08 01:02:12 +02:00
jocelyn
77085364ee
Improve socket management for EiffelWeb standalone connector.
2016-10-04 18:49:48 +02:00
jocelyn
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
jocelyn
5029049ef0
Replaced host+port by uri ( http://remotemachine:port/path ).
...
Added support for SSL (https).
2016-08-08 12:30:28 +02:00
jocelyn
210fae5000
First step towards SSL support.
2016-08-06 10:04:45 +02:00
jocelyn
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
jocelyn
1b951376f9
Added more application logic for the example.
2016-06-22 10:52:36 +02:00
jocelyn
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
jocelyn
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
jocelyn
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
jocelyn
4482520a86
Removed useless library declarations.
2016-02-03 15:12:54 +01:00
jocelyn
1a4db1d7c6
Eiffel code and ECFs update to support new agent notations.
...
Removed contrib/library/.../json library.
2016-01-18 16:41:10 +01:00