Jocelyn Fiat
fb9af26d32
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:11:22 +02: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
8b43cb909a
Do not use put_readable_string_8_noexception, and just update put_string_8_noexception to accept READABLE_STRING_8.
2016-10-13 21:53:12 +02:00
f12158e535
Use the ..._noexception network features in the WGI standalone input and output classes.
2016-10-11 10:57:05 +02:00
080881368a
Also check for SOCKET.was_error when accessing the socket data.
2016-10-11 10:29:38 +02:00
7a546622bc
Updated deprecated EiffelWeb nino to make it compilable with upcoming EiffelStudio 16.11.
...
Updated various projects to make them up-to-date and compilable with this latest EiffelWeb.
2016-10-10 21:40:15 +02:00
aed7461faf
Improved networking implementation for httpd server and sockets.
...
Use new EiffelNet routines that do not raise exception on error.
Made compilable with 16.05 and dev-and-upcoming release 16.11.
Fixed various minor issues related to base_url, and added comments.
2016-10-08 01:10:16 +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
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
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
71a5c086a5
Moved httpd from src to lib, under standalone connector.
2016-06-15 18:04:00 +02:00
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
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
63be2c278c
Fixed bad usage of {SOCKET}.socket_ok that resulted in bad behavior on linux.
2016-05-31 22:19:52 +02: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
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
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
412534d0be
Fixed compilation of all*-safe.ecf files.
...
Corrected a few comments.
2015-07-01 21:43:54 +02:00
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
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
b790c7fd21
cosmetic, cleaning.
2015-06-10 10:59:24 +02:00
9424b1e369
Merge branch 'master' into v1
2015-06-08 10:10:51 +02:00
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
dd5c89e31c
Fixed compilation of SSL_TCP_STREAM_SOCKET with recent do_accept changes.
2015-05-07 10:44:38 +02:00
fffa763d05
Updated a few comments.
2015-05-06 22:37:55 +02:00
019393fdb1
Fixed typo.
2015-05-06 22:17:35 +02:00
da8028f8b3
Fixed a typo.
2015-05-06 22:17:33 +02:00
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
d8ea9ba63c
renamed keep_alive_requested as is_persistent_connection_requested.
2015-05-06 22:15:59 +02:00
c42af5b2de
Following the spec, use "keep-alive" and "close" in lowercase for Connection header.
2015-05-06 22:15:57 +02:00
d9cbc72058
Better support for HTTP/1.0 and also related to persistent connection.
2015-05-06 22:15:56 +02:00
7e057b20b1
Improved support for HTTP/1.0 persistent connection.
2015-05-06 22:15:54 +02:00
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
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
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +02:00
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00