5988d9d74b
Updated code related to force_single_threaded setting to mark it obsolete, and for now, have coherent value 1 vs 0 among the standalone code and the httpd library.
Jocelyn Fiat2017-03-02 09:59:14 +01:00
5dc9d82df7
Added wsf_html documentation in the doc/workbook. Also improved the structure of wsf_html library. Added a few widgets.
Jocelyn Fiat2017-02-14 19:37:03 +01:00
a44ca1a76c
Converted all ecf files to ecf version 1-16-0 .
Jocelyn Fiat2017-02-14 14:47:07 +01:00
b93cb17f7c
Added readme files to the examples. Minor changes in various ecf file and code. Moved filter example under _update_needed since it has obsolete code.
Jocelyn Fiat2017-02-14 11:21:32 +01:00
fbdf034b9b
Conflict response can also have a payload to help the client understand the source of the conflict.
Jocelyn Fiat2017-02-13 17:36:10 +01:00
847b890b48
Merge pull request #176 from jvelilla/ewf_doc
Jocelyn Fiat
2017-02-12 12:00:07 +01:00
14e260bea4
Cosmetic
Javier Velilla
2017-02-10 20:37:01 -03:00
5f1bb64d26
Update generating_response.md
Javier Velilla
2017-02-10 20:32:49 -03:00
c6de55b903
Cosmetic
Javier Velilla
2017-02-10 20:31:08 -03:00
65e1b1bfed
Cosmetic
Javier Velilla
2017-02-10 19:55:18 -03:00
91a5fb2886
Cosmetic
Javier Velilla
2017-02-10 19:37:35 -03:00
b456f02a14
Updated documentation
Javier Velilla
2017-02-10 18:55:38 -03:00
6596959724
Cosmetic
Javier Velilla
2017-02-10 18:32:48 -03:00
828c75f0c2
Cosmetic
Javier Velilla
2017-02-10 18:04:39 -03:00
7662afc17b
Fixed typos
Javier Velilla
2017-02-10 18:02:17 -03:00
0786f1700f
Added an example demonstrating the WSF_FORM component from wsf_html library.
Jocelyn Fiat2017-02-09 16:19:22 +01:00
08440b5c0c
Use WSF_REQUEST.absolute_script_url (...) to compute expected url.
Jocelyn Fiat2017-01-26 22:26:45 +01:00
7f50409d08
Follow redirection only for redirection http status 3** .
Jocelyn Fiat2017-01-26 22:18:14 +01:00
681151e9b9
Fixed http_client EiffelNet implementation when port is not the default one. - previously the client was not sending the complete host:port but only host as host http header.
Jocelyn Fiat2017-01-26 21:56:21 +01:00
1b24fb63f7
Fixed temporary restbucks example. - use concurrency none to workaround a concurrency issue of DB_ACCESS - use console_application for convenience - use default http client, to use net implementation if curl is not available.
Jocelyn Fiat2017-01-26 09:52:44 +01:00
d09d452ad5
Added test cases for PATH_INFO and percent_encoded_path_info for root url cases. Removed obsolete calls from TEST_EXECUTION_I .
Jocelyn Fiat2017-01-10 12:37:37 +01:00
56fa773b30
If PATH_INFO is "/", the percent encoded path info is also "/". No need for complex computation. Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi" on (old) IIS server.
Jocelyn Fiat2017-01-10 11:59:48 +01:00
ee9746449c
If PATH_INFO is empty, the percent encoded path info is also empty. No need for complex computation. Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi".
Jocelyn Fiat2017-01-10 00:16:50 +01:00
c70d3124df
Updated tutorial ecf files to compile with 16.05 and upcoming release.
Jocelyn Fiat2016-12-06 12:29:17 +01:00
cad33e124d
Fixed a few compilation issue with 16.11 .
Jocelyn Fiat2016-12-06 12:15:36 +01:00
ece6607bcf
Disable debug clause for the wsf tests suite. Removed useless dep on EiffelThread
Jocelyn Fiat2016-12-05 21:50:02 +01:00
f56aa22c29
Fixed compilation of proxy and simple examples. Made the websocket client library scoop capable.
es_rev99627
Jocelyn Fiat2016-12-05 15:56:46 +01:00
186e5514eb
If the count for put_file_content is not positive (i.e <= 0), do not send anything. Output/log more information for request handling when standalone httpd server has verbose enabled.
Jocelyn Fiat2016-12-01 21:20:14 +01:00
ca8f95a594
Made library ecf compilable in scoop concurrency mode by default. So ecf files are compilable with 16.05 and 16.11 .
Jocelyn Fiat2016-12-01 14:56:56 +01:00
99bf552b89
Added compression support to WSF_FILE_SYSTEM_HANDLER. Added a simple example using eiffel web compression.
jvelilla
2016-11-29 18:17:44 -03:00
50c1adc365
Use the new EiffelNet sendfile C function.
Jocelyn Fiat2016-11-14 13:05:58 +01:00
5a9ccce558
Made library ecf compilable in scoop concurrency mode by default. Except nino related projects that depends on EiffelThread.
es_rev99366
Jocelyn Fiat2016-11-01 14:30:19 +01:00
d05c919668
Made the notification_email library compilable with 16.05 and upcoming 16.11 .
Jocelyn Fiat2016-11-01 14:22:48 +01:00
c7b1d4bb4c
Use the theoretical version number of EiffelStudio when we inserted new features to EiffelNet.
Jocelyn Fiat2016-10-31 17:12:55 +01:00
4a21dcd2d6
Update WebSocket compress code. Increase the chunk to 32k for reading. Update send data to the client, when the pmce compression extension was accepted send all the data at once.
jvelilla
2016-10-27 09:51:40 -03:00
4c912912a6
Initial import WebSocket Compression Protocol extension Permessage-deflate. Added test cases for Permessage-delate valid parameters Added a simple websocket example with compression.
jvelilla
2016-10-26 17:35:05 -03:00
ac908e4efd
Fixed expiration, and cache-control: max-age implementation. Also use FILE.date instead of FILE.change_date (change_date is the date of the last status change, quite often same as creation date, while date is the last modification date).
Jocelyn Fiat2016-10-24 12:51:21 +02:00
82c3e2aebb
WebSocket compression update with new classes to parse the compression header.
jvelilla
2016-10-17 10:15:12 -03:00
4a47a00747
Better all-safe.ecf file under wsf/connector .
Jocelyn Fiat
2016-10-15 22:37:16 +02:00
12508c8e21
Updated to use new standalone option names.
Jocelyn Fiat
2016-10-15 22:19:19 +02:00
3d58ef84fa
Fixed void-safety settings on web_socket_protocol.ecf .
Jocelyn Fiat
2016-10-15 22:14:03 +02:00
3a120f3311
Updated http_client library to benefit from http_network library.
Jocelyn Fiat
2016-10-15 21:42:51 +02:00
d45b90e52a
Fixed ecf to get them compiled.
Jocelyn Fiat
2016-10-14 17:57:02 +02:00
c74b9e0c45
The network classes are now under http_network library, thus renamed the header file as ew_network.h .
Jocelyn Fiat2016-10-14 16:46:26 +02:00
b8aee435dd
Updated simple_ssl example to use directly the standalone connector, and use the new WSF_STANDALONE_SERVICE_OPTIONS class. Added WSF_STANDALONE_SERVICE to make it easy to use directly.
Jocelyn Fiat2016-10-14 15:13:27 +02:00
a4d737d548
Be sure to use ecf custom variable "ssl_enabled" and not the variant "httpd_ssl_enabled" or else. Include again the openssl include folder for EiffelStudio before 16.11, otherwise eif_openssl is not found.
Jocelyn Fiat
2016-10-14 14:32:04 +02:00
16f667af2c
Reverted a few ecf files from ecf version 1-16-0 to ecf version 1-15-0. Added target "http_network_ssl" to test http_network with ssl support.
Jocelyn Fiat
2016-10-14 14:00:03 +02:00
27a5c9d969
Fixed http_network compilation for EiffelStudio before version 16.11.
Jocelyn Fiat
2016-10-14 13:51:57 +02:00
32ad7f0c65
Merged changes related to websocket and restructured httpd, http_ network libraries.
Jocelyn Fiat2016-10-14 13:17:17 +02:00