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
jocelyn
4f8f17ad48
Fixed various compilation issues.
...
Ensure the obsolete/v0 ecf has new UUID.
2015-07-03 20:02:13 +02:00
jocelyn
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
jocelyn
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
jocelyn
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
jocelyn
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
jocelyn
20ed000879
Added a few descriptions and comments.
2015-05-06 22:16:57 +02:00
jocelyn
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
jocelyn
48cb99498c
Cleaned simple example, and made the standalone target with SCOOP concurrency.
2015-05-06 22:15:48 +02:00
jocelyn
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00
jocelyn
b4a9c92ffc
Migrated simple, simple_file and upload_image example.
...
Adapted EWF accordingly.
2015-05-06 22:14:48 +02:00
jocelyn
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
jocelyn
881625a0f6
Updated code to remove obsolete call on recent version of json library.
...
Updated upload_image example to use PATH instead of DIRECTORY_NAME or similar.
Removed unused local variables.
2015-04-07 19:27:30 +02:00
jocelyn
0caad2105f
Merge branch 'fix_cgi_value' of github.com:jocelyn/EWF
2014-12-01 15:53:45 +01:00
jocelyn
975ef90bab
Better code for restbucks ORDER_HANDLER related to allowed_cross_origins and last_modified.
2014-11-28 16:06:30 +01:00
jocelyn
8c63e74b81
Fixed compilation of restbucks example using the policy driven framework.
2014-11-25 22:19:46 +01:00
jocelyn
99588faf40
fixed compilation of filter example.
2014-10-10 13:51:20 +02:00
Olivier Ligot
5d6e3c69ee
Fix filter example: logging filter must be the last one
2014-09-18 13:29:24 +02:00
Olivier Ligot
984d04e972
Filter example: add fcgi target
2014-09-17 17:11:37 +02:00
Olivier Ligot
83486ae0cc
Fix authentication filter: use {HTTP_AUTHORIZATION}.is_basic
2014-09-17 15:40:43 +02:00
jocelyn
446c692f97
Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER.
2014-07-01 19:59:08 +02:00
jocelyn
66a1e0629c
Improved the debug example, so that it outputs more information.
2014-06-30 15:16:31 +02:00
jocelyn
942896aa0c
Fixed library location for http
2014-06-12 20:02:57 +02:00
jocelyn
394ca46f03
Added example to help debugging EWF
...
This is mainly a kind of echo server .. that return the request information.
2014-06-12 19:52:41 +02:00
jocelyn
31fcd61401
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 10:14:51 +02:00
jocelyn
fd66d79ecb
Updated ecf files toward complete void-safety
...
Added iron package files.
Added libfcgi files to compile .lib and .dll on Windows
2014-04-22 21:47:29 +02:00
jocelyn
4b497060a0
Added an example to embed EWF nino service into a Vision2 desktop application.
...
This is locally consumed via the embedded web browser component.
2014-04-10 15:28:19 +02:00
jocelyn
991389e9b9
Update restbucksCRUD example to use "crypto" library rather than "eel".
...
Updated readme.md to add curl command to test the server.
2014-01-24 11:06:01 +01:00
jocelyn
d8487e6c12
Added PUT processing for image_uploader EWF example.
2014-01-24 11:06:00 +01:00
jocelyn
3d126b04a9
fixed compilation of the filter example
2013-11-20 09:16:28 +01:00
jocelyn
1827723ccc
Fixed compilation of restbucksCRUD for the policy driven framework target.
2013-11-19 22:00:33 +01:00
jocelyn
dd31970b01
Renamed content_negotation' as content_negotiation' (fixed typo)
...
Updated .ecf and Eiffel code depending on previous CONNEG
2013-09-20 15:18:56 +02:00
jocelyn
2651171294
Extracted the policy driven classes into their own library for now "wsf_policy_driven.ecf"
...
Updated the restbucksCRUD example to demonstrate both approaches.
2013-08-20 17:27:57 +02:00
Colin Adams
3ae898476f
Changed age to max_age
2013-08-16 04:50:48 +01:00
Colin Adams
275c26b55b
Further use of constants for execution variables
2013-08-14 09:22:35 +01:00
Colin Adams
2ed362f5d3
refactored to allow etags to work properly when multiple representations are available
2013-08-12 09:27:00 +01:00
Colin Adams
3249c377f1
made deleted into an effective routine
2013-08-08 07:31:43 +01:00
Colin Adams
69da6c6d06
Fixes as picked up by code review
2013-08-07 11:03:22 +01:00
Colin Adams
277eb0b4b6
restbucksCRUD example changed to use policy-driven framework
2013-08-06 15:01:24 +01:00
jocelyn
8040dd5826
Ensured that EWF compiles with 7.2
...
(note about ecf version
1-10-0 void_safety="all" <--> 1-11-0 void_safety="transitional"
1-10-0 void_safety="all" <--- 1-11-1 void_safety="all"
)
2013-06-28 11:06:35 +02:00
jocelyn
218e73945d
Updated ecf file as workaround to make autotest works fine.
2013-06-17 12:03:46 +02:00
jocelyn
cc4ef1a575
Better support for unicode path and values.
...
Added WSF_REQUEST.percent_encoded_path_info: READABLE_STRING_8
to keep url encoded path info, as it is useful for specific component
The router is now using WSF_REQUEST.percent_encoded_path_info
since URI_TEMPLATE are handling URI (and not IRI)
this fixes an issue with unicode path parameters.
This should not break existing code, and this fixes various unicode related issues related
to PATH parameter and path info
but also any component using file names.
(required EiffelStudio >= 7.2)
2013-06-12 18:03:11 +02:00
jocelyn
fbbd1f1eee
Fixed various void-safety issue with recent compilers.
...
Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3
2013-06-07 15:40:50 +02:00
Olivier Ligot
35729b4ab6
Use port number 9090 instead of 80
...
Port 80 is often already used by standard webservers (Apache, nginx, ...).
Moreover, on Linux, ports below 1024 can only be opened by root.
2013-05-27 09:15:12 +02:00