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
80254b2278
When possible keep ecf location relative within the same EiffelWeb directory structure.
2016-08-06 10:07:42 +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
e9afc9ad17
Updated package.iron files.
2016-02-02 09:57:03 +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
jvelilla
1f1e2abbda
Removed support for SSLv3
2015-08-26 11:56:24 -03: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
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
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
7d089a88c2
Made compilable without SSL enabled
...
(i.e when variable named "httpd_ssl_disabled" is set to "true")
2015-06-11 10:08:44 +02:00
jocelyn
b790c7fd21
cosmetic, cleaning.
2015-06-10 10:59:24 +02:00
jocelyn
9424b1e369
Merge branch 'master' into v1
2015-06-08 10:10:51 +02:00
jocelyn
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
jocelyn
dd5c89e31c
Fixed compilation of SSL_TCP_STREAM_SOCKET with recent do_accept changes.
2015-05-07 10:44:38 +02:00
jocelyn
fffa763d05
Updated a few comments.
2015-05-06 22:37:55 +02:00
jocelyn
019393fdb1
Fixed typo.
2015-05-06 22:17:35 +02:00
jocelyn
da8028f8b3
Fixed a typo.
2015-05-06 22:17:33 +02:00
jocelyn
20ed000879
Added a few descriptions and comments.
2015-05-06 22:16:57 +02:00
jvelilla
24620b228c
Added feature comments.
...
Added missing postconditions.
2015-05-06 22:16:10 +02:00
jvelilla
9c7e29b836
Added descriptions and comments
2015-05-06 22:16:08 +02:00
jvelilla
a0e9a41e21
Added descriptions and feature comments.
2015-05-06 22:16:07 +02:00
jvelilla
dd9aff03d3
Added features comments.
2015-05-06 22:16:05 +02:00
jvelilla
dc35925eb0
Added Missing Class and feature descriptions.
...
Removed author entry.
2015-05-06 22:16:03 +02:00
jocelyn
a1a620a9c3
Export request and response from WGI_EXECUTION to itself.
...
Added WSF_FILTERED_ROUTED_SKELETON_EXECUTION
2015-05-06 22:16:00 +02:00
jocelyn
d8ea9ba63c
renamed keep_alive_requested as is_persistent_connection_requested.
2015-05-06 22:15:59 +02:00
jocelyn
c42af5b2de
Following the spec, use "keep-alive" and "close" in lowercase for Connection header.
2015-05-06 22:15:57 +02:00
jocelyn
d9cbc72058
Better support for HTTP/1.0 and also related to persistent connection.
2015-05-06 22:15:56 +02:00
jocelyn
7e057b20b1
Improved support for HTTP/1.0 persistent connection.
2015-05-06 22:15:54 +02:00
jocelyn
3165c1e5c6
Enable support for persistent connections.
...
(test: works fine with curl -k , but weird behavior with ab -k ...)
2015-05-06 22:15:53 +02:00
jocelyn
89e26519e4
First step to improve a bit error handling related to socket disconnection.
...
Mainly in standalone connector for now.
2015-05-06 22:15:51 +02:00
jocelyn
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +02:00
jocelyn
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00
jocelyn
7d2ce8a77f
Implemented support for base url in httpd connector.
2015-05-06 22:15:38 +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
ddf73077b3
Support for concurrencies: none, thread and SCOOP
2015-05-06 22:13:19 +02:00
jocelyn
3da80fce0d
Finally SCOOP supported.
2015-05-06 22:13:17 +02:00