c03d28cabc
Use new on_timer solution, to check every 1 second, the presence of ".stop" file. If this file exists, close all active websockets.
Jocelyn Fiat2017-10-24 17:45:08 +02:00
e834b2b360
Added on_timer callback event so that server can check regularly external state. This is a basic solution to implement a way to check for time to time for events to notify websocket clients.
Jocelyn Fiat2017-10-24 17:43:06 +02:00
db39068ceb
Updated documentation for standalone connector. Changed default_max_keep_alive_requests from 100 to 300.
Jocelyn Fiat2017-10-19 00:14:23 +02:00
a1b4337438
Set keep_alive_timeout to 2, this way for single threaded case, browser does not wait too much to start the websocket connection. Set max_keep_alive_requests to -1, to allow unlimited number of requests within a same websocket connection.
Jocelyn Fiat2017-10-18 23:41:03 +02:00
74121be470
Support persistent connection, even in single thread mode (i.e concurrency=none). Warning: as there is no concurrent request handling in single threaded mode, it is recommended to either set the keep_alive_timeout to a small value, or disable persistent connection by setting max_keep_alive_requests to 0. Change the default keep_alive_timeout from 15 to 5 seconds. Accept -1 as value of max_keep_alive_requests to have unlimited number of request in the same persistent connection.
Jocelyn Fiat2017-10-18 23:29:16 +02:00
edec837c4e
Made interface of wsf forms and widgets a bit more flexible by accepting READABLE_STRING_GENERAL.
es_rev100926
Jocelyn Fiat2017-10-17 14:34:50 +02:00
f1642a444a
Improved support of absolute/relative https:// and http:// in http_client.
Jocelyn Fiat2017-10-17 14:30:44 +02:00
48af63af83
Fixed typo to process relative or absolute url.
Jocelyn Fiat2017-10-09 14:23:45 +02:00
72c87cd74d
Fixed curl implementation by setting Content-Type to x-www-form-urlencoded (if not set) when POST send data as x-www-form-urlencoded.
Jocelyn Fiat2017-10-06 10:24:48 +02:00
2ed4d03168
Renamed ciphers_settings as ciphers_setting .
Jocelyn Fiat2017-10-06 09:34:08 +02:00
18ed92a61d
Moved to unique .ecf from ecf version 1-16-0 . Requires 17.05 or newer.
Jocelyn Fiat2017-10-06 09:02:10 +02:00
38cf5d7a6f
Updated requirements, now EiffelWeb requires 17.05 or newer. Improved support for future 17.11 version with new openssl library.
Jocelyn Fiat2017-10-05 22:07:05 +02:00
96648a16dc
Updated Readme file with Build Status on Master Branch. Update code style: refactor rename ciphers_settings to ciphers_setting.
jvelilla2017-09-25 14:21:35 -03:00
85c8a46c89
Update Readme.md with a note about ciphers implementation.
jvelilla2017-09-21 08:07:11 -03:00
498e4a6ec2
Fixed validation of iss and aud when issuer and audience are not set.
Jocelyn Fiat2017-09-21 10:46:08 +02:00
ab507d543a
Now HTTP_AUTHORIZATION acceps READABLE_STRING_GENERAL for username and password argument.
Jocelyn Fiat2017-09-21 10:45:40 +02:00
20a90db2e3
If url is relative, use session.url (...) to get valid url. It could happen with relative url in Location: ... header (for redirection).
Jocelyn Fiat2017-09-21 10:45:08 +02:00
6ed91699b8
Renamed feature 'set_ciphers' to 'set_ciphers_settings' and added description.
jvelilla2017-09-19 10:32:17 -03:00
bb334aef80
Updated HTTP client cURL implementation. Refactor rename cipher_list by ciphers_settings and description. Updated ciphers_settings representation to STIRNG_8 Refactor rename set_cipher_list by set_ciphers.
jvelilla2017-09-14 11:58:43 -03:00
c2764e25ff
Update HTTP Client cURL implementation: Added the option to set cipher list used to negotiate security settings (SSL handshake)
jvelilla2017-09-14 10:21:32 -03:00
cdada71f7e
Corrected wsf_compression.ecf which was missing a few libraries. The -safe.ecf was correct.
Jocelyn Fiat2017-09-02 21:49:41 +02:00
a7d0398ec6
Introduce WSF_COMPRESSION and applied to WSF_*_WITH_COMPRESSION classes. Modified the example to send the file with or without compression.
Jocelyn Fiat2017-09-01 18:59:18 +02:00
2748e1d9ee
Now JWT_LOADER takes the alg as argument, to avoid security issue where the lib is taking alg from the header (which may be a bad security weakness).
Jocelyn Fiat2017-07-11 23:32:11 +02:00
27ee20f99b
Added convenient get and custom functions on HTTP_CLIENT directly.
Jocelyn Fiat2017-07-11 23:29:42 +02:00
02383810b4
Fixed bad identation Updated date to current date in obsolte message.
jvelilla2017-06-23 09:51:59 -03:00
dbf5e76047
Updated EWF network and httpd libraries. Updated features using ssl_2 and ssl_3 as obsolete and raise a developer exception.
jvelilla2017-06-22 10:23:56 -03:00
5c31905427
Updated EWF http_network, websocket, httpd to use the latest EiffelNet SSL version.
jvelilla2017-06-21 18:34:07 -03:00
a6806c676a
Updated ecf files to version 1-16-0 . Minor cosmetic changes.
Jocelyn Fiat2017-06-20 09:48:10 +02:00
9e5e8bb1bf
Added simple way to set the issued_at claim value to current UTC date time.
Jocelyn Fiat2017-06-14 16:27:24 +02:00
10a83c6ad8
Added possibility to create JWS object with specific algo hs256 or none easily.
Jocelyn Fiat2017-06-14 16:26:31 +02:00
1ec3b8e7a4
Added support for multiple file in form data. Made clear what is the meaning of upload_filename, upload_data and form_data.
Jocelyn Fiat2017-06-14 16:19:43 +02:00
d4b9301a57
Reverted to previous TYPE.name to be compilable with version prior to 17.05. (TYPE.name_32 exists since 17.05).
Jocelyn Fiat2017-06-02 17:40:53 +02:00
69b5ce637e
Improved query and form data encoding (based on a very early version of the general URI percent-encoding rules). - now correct encoding of space by '%20' in path segment, and '+' in query parameters. Unify and fixed query parameters handling for libcurl and net implementation. Fixed file uploading (various issue in libcurl, and net implementation). Fixed form multipart encoding by using correctly the boundary. Updated autotest cases. Code cleaning.
Jocelyn Fiat2017-05-17 12:16:35 +02:00
485a3812d9
Integrated recent changes on SOCKET.socket_buffer splitted as read_socket_buffer and put_socket_buffer.
Jocelyn Fiat2017-05-15 12:20:52 +02:00
24d834fb0b
Revert changes on notification_email lib.
Jocelyn Fiat2017-05-12 14:57:29 +02:00
a928f27b1a
Updated or added timestamp to obsolete and fixme messages. Fixed ecf file exclusion for .svn and .git . Cosmetic changed.
Jocelyn Fiat2017-05-12 14:30:50 +02:00
fb9af26d32
Updated or added timestamp to obsolete and fixme messages. Fixed ecf file exclusion for .svn and .git . Cosmetic changed.
Jocelyn Fiat2017-05-12 14:11:22 +02:00