Commit Graph

2256 Commits

Author SHA1 Message Date
jocelyn a6245351ef Updated http_client README. 2017-01-16 21:36:03 +01:00
jocelyn d09d452ad5 Added test cases for PATH_INFO and percent_encoded_path_info for root url cases.
Removed obsolete calls from TEST_EXECUTION_I .
2017-01-10 12:37:37 +01:00
jocelyn 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.
2017-01-10 11:59:48 +01:00
jocelyn 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".
2017-01-10 00:16:50 +01:00
jocelyn 9f04c52265 Updated wsf_js_widget example ecf files. 2016-12-06 12:51:37 +01:00
jocelyn 54ebafba0d Updated doc workbook ecf files. 2016-12-06 12:37:41 +01:00
jocelyn c70d3124df Updated tutorial ecf files to compile with 16.05 and upcoming release. 2016-12-06 12:29:17 +01:00
jocelyn cad33e124d Fixed a few compilation issue with 16.11 . 2016-12-06 12:15:36 +01:00
jocelyn ece6607bcf Disable debug clause for the wsf tests suite.
Removed useless dep on EiffelThread
2016-12-05 21:50:02 +01:00
jocelyn f56aa22c29 Fixed compilation of proxy and simple examples.
Made the websocket client library scoop capable.
es_rev99627
2016-12-05 15:56:46 +01:00
jocelyn 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.
2016-12-01 21:20:14 +01:00
jocelyn 9fd53b9b1f Fixed debug.ecf file from debug example. 2016-12-01 21:08:13 +01:00
jocelyn 27c77721fd Fixed a few void-safety issue, attribute not initialized before computing agent objects. 2016-12-01 20:41:03 +01:00
jocelyn c2202e82f6 Fixed compilation of desktop app example. 2016-12-01 18:43:22 +01:00
jocelyn 72a40a2673 Fixed potential void-safety issue in descendants related to initialization of router and filter. 2016-12-01 18:14:07 +01:00
jocelyn 2fbffd0c1e Fixed compilation. 2016-12-01 16:09:41 +01:00
jocelyn 9e5fec9c34 Removed unwanted files. es_rev99577 2016-12-01 15:02:40 +01:00
jocelyn 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
jocelyn 5a9ccce558 Made library ecf compilable in scoop concurrency mode by default.
Except nino related projects that depends on EiffelThread.
es_rev99366
2016-11-01 14:30:19 +01:00
jocelyn d05c919668 Made the notification_email library compilable with 16.05 and upcoming 16.11 . 2016-11-01 14:22:48 +01:00
jocelyn 087b5d49bb Fixed wsf_js_widget compilation. 2016-11-01 14:01:50 +01:00
jocelyn c7b1d4bb4c Use the theoretical version number of EiffelStudio when we inserted new features to EiffelNet. 2016-10-31 17:12:55 +01:00
jocelyn 193f22ebc8 Fixed wsf tests project.
Added ini config support to simple_file example.
es_rev99333
2016-10-25 15:22:18 +02:00
jocelyn 5e79751522 Updated WGI_OUTPUT_STREAM.put_file_content . es_rev99332 2016-10-25 13:44:44 +02:00
jocelyn 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).
2016-10-24 12:51:21 +02:00
jocelyn 885195dbaa Added WSF_RESPONSE.put_file_content (f: FILE, a_offset: INTEGER; a_count: INTEGER) to allow potential future optimization. 2016-10-24 12:47:33 +02:00
jocelyn 2e49febca8 Fixed the EiffelStudio EiffelWeb wizard. es_rev99331 2016-10-21 19:40:13 +02:00
jocelyn 53f4f64596 Added feature to manipulate easily the chain of filters. 2016-10-21 19:39:42 +02:00
jocelyn dff9007aa6 Updated (un)install script to include new network, httpd, and websocket libraries. es_rev99306 2016-10-18 13:29:47 +02:00
jocelyn c34f89df9b Added connection header related functions.
- WSF_REQUEST.is_keep_alive_http_connection: BOOLEAN
  - HTTP_HEADER_MODIFIER.put_connection_keep_alive
  - HTTP_HEADER_MODIFIER.put_connection_close
In Standalone request handler code, better detection of Connection: keep-alive header.
2016-10-18 13:22:32 +02:00
Jocelyn Fiat 4a47a00747 Better all-safe.ecf file under wsf/connector . 2016-10-15 22:37:16 +02:00
Jocelyn Fiat 12508c8e21 Updated to use new standalone option names. 2016-10-15 22:19:19 +02:00
Jocelyn Fiat 3d58ef84fa Fixed void-safety settings on web_socket_protocol.ecf . 2016-10-15 22:14:03 +02:00
Jocelyn Fiat 3a120f3311 Updated http_client library to benefit from http_network library. 2016-10-15 21:42:51 +02:00
Jocelyn Fiat d45b90e52a Fixed ecf to get them compiled. 2016-10-14 17:57:02 +02:00
jocelyn c74b9e0c45 The network classes are now under http_network library, thus renamed the header file as ew_network.h . 2016-10-14 16:46:26 +02:00
jocelyn 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.
2016-10-14 15:13:27 +02:00
Jocelyn Fiat 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.
2016-10-14 14:32:04 +02:00
Jocelyn Fiat 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.
2016-10-14 14:00:03 +02:00
Jocelyn Fiat 27a5c9d969 Fixed http_network compilation for EiffelStudio before version 16.11. 2016-10-14 13:51:57 +02:00
jocelyn 32ad7f0c65 Merged changes related to websocket and restructured httpd, http_
network libraries.
2016-10-14 13:17:17 +02:00
jocelyn 78f24ecb37 Updated ws.ini (for now, keep is_secure False, due to remaining issue with websocket and SSL implementation). 2016-10-14 13:11:26 +02:00
jocelyn 1161e541fa Accept "yes" or "true" in wsf launcher option boolean values.
Set socket_error when network occurs in `read_to_managed_pointer_noexception`.
2016-10-14 13:10:44 +02:00
jocelyn d4ec640ac8 Renamed many classes and feature to use "secure" term instead of "ssl". (note, the .ecf are still using the "ssl" terminologie).
Provided easy way to set secure settings for Standalone.
For wsf launcher boolean option accept "true" or "yes" for True boolean, anything else is False.
2016-10-14 11:52:48 +02:00
jocelyn 01a9d02586 Added websocket examples for the server and client. 2016-10-13 22:01:50 +02:00
jocelyn 1e4203111f Use socket .._noexception functions in websocket networking. 2016-10-13 21:55:53 +02:00
jocelyn b84f4838f5 Added new WSF_STANDALONE_SERVICE_OPTIONS, a descendant of WSF_SERVICE_LAUNCHER_OPTIONS specialized for standalone connectors. 2016-10-13 21:55:16 +02:00
jocelyn 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
jocelyn 897f64e4fe Reuse http_network library.
Reintroduced HTTPD_STREAM_SOCKET for backward compatibility, and ease of usage.
Added websocket libraries (client, and protocol).
2016-10-13 16:25:11 +02:00
jocelyn 981942b2d6 Extracted network socket classes from httpd folder, and created a new library/network/http_network library.
Renamed HTTPD_STREAM_SOCKET as HTTP_STREAM_SOCKET.
Made http_client (net) library use the new http_network library.
2016-10-12 23:27:55 +02:00