jocelyn
f010da04e9
Merge branch 'reverse_proxy'
2016-09-19 22:19:21 +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
80254b2278
When possible keep ecf location relative within the same EiffelWeb directory structure.
2016-08-06 10:07:42 +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
8b172b5d33
Revisited WSF_REQUEST.read_input_data* functions:
...
- read_input_data_into_file now accepts a IO_MEDIUM argument instead of just FILE.
- cleaned the implementation, and make sure that eventual `raw_input_data` is containing only the raw input data.
2016-08-05 11:32:14 +02:00
jocelyn
4283662f43
Removed unwanted .ecf file.
2016-06-22 10:55:41 +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
b49e841ac7
Added WSF standalone_websocket connector, that provides websocket on top of standalone connector.
2016-06-21 23:37:48 +02:00
jocelyn
8ba74e1c90
Log when a persistent connection is reused.
...
Use anchor type on `{WGI_STANDALONE_CONNECTOR}.configuration` and `{WSF_STANDALONE_SERVICE_LAUNCHER}.connector`.
Add access to the socket of standalone input stream from `{WSF_STANDALONE_CONNECTOR_ACCESS}`.
Removed a useless redefination in `WSF_EXECUTION`.
2016-06-21 23:36:22 +02:00
jocelyn
0cecb9594c
Fixed signature of {HTTPD_CONFIGURATION_I}.set_ca_key .
2016-06-16 10:37:26 +02:00
jocelyn
e384a6d6ed
Make it easier to reuse the http network classes.
...
This is to make it easier for websocket solution to reuse httpd implementation.
2016-06-16 10:23:30 +02:00
jocelyn
71a5c086a5
Moved httpd from src to lib, under standalone connector.
2016-06-15 18:04:00 +02:00
jocelyn
dfa60bf8f5
Prepared httpd_stream to be useable for client too.
...
Fixed obsolete tests/dev compilation (mainly to avoid wrong failure reports).
added package.iron files.
2016-06-15 17:56:22 +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
63be2c278c
Fixed bad usage of {SOCKET}.socket_ok that resulted in bad behavior on linux.
2016-05-31 22:19:52 +02:00
Jocelyn Fiat
f8ba741aa2
Using -lfcgi as external linker flag, rather than /usr/lib/libfcgi.so .
...
Note on Ubuntu: apt-get install libfcgi-dev
2016-05-31 18:51:15 +02:00
jocelyn
5890ca6f73
Removed warning about unknown class in export clause.
2016-05-25 22:51:45 +02:00
Colin Adams
ad90e7c135
Fix for missing error reporting in WSF_PUT/POST_HELPER
2016-05-20 17:37:47 +02:00
jocelyn
e9afc9ad17
Updated package.iron files.
2016-02-02 09:57:03 +01:00
jocelyn
d982bc06ad
Eiffel code and ECFs update to support new agent notations.
2016-01-18 21:42:59 +01:00
jocelyn
2ca87d53b8
Added process_transfer to implement process_file. This way, it is easier to redefine the transfert implementation, or the process_file directly, if needed.
2016-01-18 17:05:35 +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
166d0839b7
Fixed end_of_input by using SOCKET.readable.
2015-12-28 23:45:04 +01:00
jocelyn
fbe0732210
Removed uuid in wsf_session ecf files.
2015-12-28 18:05:18 +01:00
jocelyn
b5d6a75155
Fixed table item output by appending html attribute for WSF widget table item.
2015-12-28 17:40:59 +01:00
jocelyn
4fc4b02449
Made WSF_TABLE a TABLE_ITERABLE.
2015-12-28 17:40:20 +01:00
jocelyn
5276bd1479
Fixed URI mapping with regard to trailing slash handling.
2015-12-28 17:39:54 +01:00
jocelyn
35855941e6
Comment and code cleaning.
2015-11-05 21:37:44 +01:00
jocelyn
50ba8ca703
Fixed various unicode issue related to query and form parameters.
...
(Especially for the multipart/form-data encoding.)
Factorized code related to smart parameters computing (handling list , table, ...) in WSF_VALUE_UTILITIES.
Fixed an issue with percent_encoded_path_info computation from request_uri.
Fixed issue with cookie addition having same cookie name.
Fixed unicode support for uploaded file.
WSF_STRING is reusing WSF_PERCENT_ENCODER.
Use unicode output for WSF_DEBUG_HANDLER.
Code cleaning
2015-11-05 21:32:24 +01:00
jvelilla
1f1e2abbda
Removed support for SSLv3
2015-08-26 11:56:24 -03:00
jocelyn
389975e409
Merge branch 'v1'
2015-08-24 16:13:01 +02:00
jocelyn
6c51590369
Updated installation location of openid and http_authorization in ISE package.
...
Added iron package file for ewsgi.
2015-08-24 16:12:25 +02:00
jocelyn
47c5b798b3
Cosmetic true -> True
2015-08-04 13:24:03 +02:00
jocelyn
f0cba1d536
Fixing script_url' that wrongly used path_info' instead of `percent_encoded_path_info'.
...
(issue on script_url when path info contains unicode character).
2015-08-04 13:21:36 +02:00
jocelyn
ed891546bc
Updated set_value for WSF_FORM_SELECTABLE_INPUT (for example a checkbox).
...
Call the feature set_checked_by_value iff the the current value exist in the
list of values, in other case set checked in Flase.
If we call set_checked_by_value without filter, previous checked values will be
set in False.
2015-08-04 13:21:07 +02:00
jocelyn
8651ff6e1e
Fixing script_url' that wrongly used path_info' instead of `percent_encoded_path_info'.
...
(issue on script_url when path info contains unicode character).
2015-08-04 13:03:51 +02:00
jocelyn
629edea991
Merge remote-tracking branch 'javier/ewf_html_form' into v1
2015-08-04 13:00:08 +02:00
jvelilla
1e10ce8518
Updated set_value for WSF_FORM_SELECTABLE_INPUT (for example a checkbox).
...
Call the feature set_checked_by_value iff the the current value exist in the
list of values, in other case set checked in Flase.
If we call set_checked_by_value without filter, previous checked values will be
set in False.
2015-07-31 11:55:23 -03:00
jocelyn
4f8f17ad48
Fixed various compilation issues.
...
Ensure the obsolete/v0 ecf has new UUID.
2015-07-03 20:02:13 +02:00
jocelyn
33150e34d6
Reverted previous changed related to redefinition of set_status_code which was against existing assertions.
2015-07-02 15:11:33 +02:00
jocelyn
31557cfc33
Fixed WGI_HTTPD_REQUEST_HANDLER.process_rescue
...
Fixed WGI_STANDALONE_OUTPUT_STREAM.is_available
Added WGI_STANDALONE_RESPONSE_STREAM.is_persistent_connection_supported
2015-07-02 10:50:41 +02:00
jocelyn
412534d0be
Fixed compilation of all*-safe.ecf files.
...
Corrected a few comments.
2015-07-01 21:43:54 +02:00
jocelyn
99a05b95ba
Improved code related to cookie management (avoid duplicated cookie).
2015-06-22 22:06:16 +02:00
jocelyn
54dd43c38a
Synchronized wsf-safe.ecf and wsf.ecf
2015-06-18 14:53:19 +02:00
jocelyn
903f925a79
Changed the way SSL is supported with standalone connector (httpd lib).
...
Now by default, SSL is not supported,
and if an application wants the SSL support,
the related .ecf has to set custom variable "httpd_ssl_enabled" to "true"
2015-06-17 17:22:59 +02:00
jocelyn
c0d5b7c968
Added make_from_execution procedure to ease implementing various use cases.
2015-06-16 15:02:17 +02:00
jocelyn
7bea163f46
Updated ecf from obsolete v0 folder to include the "_v0" suffix in the library names.
2015-06-14 21:34:41 +02:00
jocelyn
8992dbc515
Added wsf_html in the obsolete v0 folder.
...
mostly because it is also dependent on "wsf", so it has to be using the obsolete v0 ecf.
2015-06-12 19:01:35 +02:00