Commit Graph
206 Commits
Author SHA1 Message Date
jocelyn cf549e8f62 Fixed typo. 2015-04-07 15:02:44 +02:00
jocelyn c820ef431b Fixed a typo. 2015-04-07 14:47:38 +02:00
jocelyn 92a8e8094f Merged DbC and cosmetic related changes from remote-tracking branch 'javier/concurrent_httpd'. 2015-04-07 14:40:03 +02:00
jocelyn 14c1faa124 Added a few descriptions and comments. 2015-04-07 14:13:41 +02:00
jvelilla 7dd4da35af Added feature comments.
Added missing postconditions.
2015-04-06 18:07:35 -03:00
jvelilla 0eb7752772 Added descriptions and comments 2015-04-06 17:46:59 -03:00
jvelilla d576879b2c Added descriptions and feature comments. 2015-04-06 17:05:35 -03:00
jvelilla 4f9fcf42e2 Added features comments. 2015-04-06 16:42:45 -03:00
jvelilla 0b00bc4f68 Added Missing Class and feature descriptions.
Removed author entry.
2015-04-06 12:24:47 -03:00
jocelyn 3c7ca1b15b Export request and response from WGI_EXECUTION to itself.
Added WSF_FILTERED_ROUTED_SKELETON_EXECUTION
2015-04-02 18:23:58 +02:00
jocelyn 7ac20bbcbc renamed keep_alive_requested as is_persistent_connection_requested. 2015-04-01 22:51:20 +02:00
jocelyn 6f74361223 Following the spec, use "keep-alive" and "close" in lowercase for Connection header. 2015-04-01 22:44:24 +02:00
jocelyn c25ea52bf8 Better support for HTTP/1.0 and also related to persistent connection. 2015-04-01 22:41:43 +02:00
jocelyn c2bca44bbd Improved support for HTTP/1.0 persistent connection. 2015-04-01 20:11:30 +02:00
jocelyn 5dc5a751e5 Enable support for persistent connections.
(test: works fine with curl -k , but weird behavior with ab -k ...)
2015-04-01 19:31:27 +02:00
jocelyn 52dff7e0fb First step to improve a bit error handling related to socket disconnection.
Mainly in standalone connector for now.
2015-04-01 17:29:53 +02:00
jocelyn 3710c787d1 Updated various indexing notes.
Removed a few obsolete classes.
Cosmetics
2015-03-31 21:33:38 +02:00
jocelyn 060a2bb952 Migrated most of the example and library to new design. 2015-03-31 14:50:20 +02:00
jocelyn 449720c99e Implemented support for base url in httpd connector. 2015-03-25 22:22:57 +01:00
jocelyn 2b7fbb0724 Migrated simple, simple_file and upload_image example.
Adapted EWF accordingly.
2015-03-25 14:56:38 +01:00
jocelyn c8eb22c8e5 Added SCOOP support for WSF.
WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION.
Todo: code cleaning, removing useless things.
2015-03-24 23:21:49 +01:00
jocelyn da6125a321 Support for concurrencies: none, thread and SCOOP 2015-03-20 15:48:54 +01:00
jocelyn d4847251ef Finally SCOOP supported. 2015-03-20 13:37:54 +01:00
jocelyn 7914402a51 Experiment to avoid pseudo sequential execution 2015-03-17 15:52:15 +01:00
jocelyn 592975dfe2 First attempt to use `{NETWORK_STREAM_SOCKET}.accept_to' 2015-03-17 09:48:11 +01:00
jocelyn 33ec1bc2d3 First steps to provide a concurrent compliant EWF connector. 2015-03-13 16:26:07 +01:00
jocelyn 0caad2105f Merge branch 'fix_cgi_value' of github.com:jocelyn/EWF 2014-12-01 15:53:45 +01:00
Colin Adams 0f76518b63 Added {WSF_REQUEST}.http_content_encoding 2014-11-19 14:41:50 +00:00
Colin Adams e1d1d52260 Issue #143 2014-11-17 16:20:28 +00:00
jocelyn ff19adc6c8 Improved comment related to PATH_INFO and stripping multiple slashes sequence to single slash. 2014-07-07 11:27:31 +02:00
jocelyn 1b4b50ee80 Replace any multiple slash sequence by a single slash character for PATH_INFO. 2014-07-02 11:36:43 +02:00
jocelyn 7dfc6ea67a Fixed various issues related to unicode and CGI variables (assuming that CGI variables are utf-8 encoded, and sometime percent encoded).
Delayed computation of `value' and `name' from WSF_STRING.
Fixed computation of REQUEST_URI when the server does not provide it (this is rare, but possible).
   compute it as SERVER_NAME + encoded-PATH_INFO + {? + QUERY_STRING}
2014-07-01 19:57:14 +02:00
jocelyn 425c976032 Ensure that PATH_INFO and REQUEST_URI are following the CGI specifications:
- PATH_INFO is percent decoded but still utf-8 encoded,
  this is available via WGI.path_info and WSF_REQUEST.utf_8_path_info.
- Added WSF_REQUEST.percent_encoded_path_info
- and WSF_REQUEST.path_info remains the unicode value for PATH_INFO

Added cgi_variables: WGI_REQUEST_CGI_VARIABLES to have a simple and quick view on CGI variables
Added execution_variables to be able to iterate on execution variables.
Added PERCENT_ENCODER.percent_decoded_utf_8_string
Improved the WSF_DEBUG_HANDLER to provide more information thanks to WSF_DEBUG_INFORMATION object.
2014-06-30 15:13:47 +02:00
jocelyn 31fcd61401 Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11 2014-05-14 10:14:51 +02:00
jocelyn fd66d79ecb Updated ecf files toward complete void-safety
Added iron package files.
Added libfcgi files to compile .lib and .dll on Windows
2014-04-22 21:47:29 +02:00
jocelyn bbc2bab0eb Removed usage of remote anchor types. 2014-02-28 14:25:13 +01:00
jocelyn 07ec0d001f Fixed various issues with libfcgi on Linux, mainly related to stdout,stderr,stdin, feof and related.
Added `reset' to the libfcgi input stream so that it is possible to reset previous errors.
2013-12-03 10:45:52 +01:00
jocelyn 4f15745647 For Nino connector, ensured that environment variables are percent-encoded in meta variables. 2013-12-02 10:26:23 +01:00
jocelyn 3065637c80 Fixed an issue with one short chunk and empty trailer
issue#81
2013-10-18 20:59:29 +02:00
Colin Adams e6371c7adc Merge branch 'master' into handler
pull from upstream
2013-07-08 10:17:44 +01:00
jocelyn f653507fc8 Updated WGI specification to ease future migration to unicode support.
Use STRING_TABLE, and better interface of READABLE_STRING_GENERAL,
    this way the signature are more flexible for unicode keys.

    Note that for now, unicode environment variables are not correctly supported in WGI
    especially the value of the variables.
    Any layer on top of EWGSI suffers from the same issues.

Better exception handling

+ code cleaning
2013-06-12 18:50:45 +02:00
jocelyn 225cda0af7 minor optimization avoiding to create temporary string that might be big 2013-06-12 18:23:18 +02:00
jocelyn fbbd1f1eee Fixed various void-safety issue with recent compilers.
Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3
2013-06-07 15:40:50 +02:00
jocelyn 5b6c257fae Improved WGI_INPUT_STREAM.append_to_file (f: FILE; nb: INTEGER) 2013-05-28 15:04:50 +02:00
jocelyn eab8df7e10 Added WSF_REQUEST.read_input_data_into_file (FILE) 2013-05-28 14:42:11 +02:00
Colin Adams f52aa2ecff Made changes requested in review 2013-04-17 15:37:39 +01:00
Colin Adams b4ab4875fc If-Match implemented in skeleton handler 2013-04-13 14:48:28 +01:00
Colin Adams 92ce80cd63 Fixed bug in 32/8 bit string existance 2013-04-11 10:28:14 +01:00
Colin Adams 31ba0a8828 Handle Precondition Failed for If-Match: * where there is no handler for the resource 2013-04-11 09:23:41 +01:00
jocelyn f85dc7f550 Fixed HEAD request related issue
see https://github.com/EiffelWebFramework/EWF/issues/53
2013-04-10 09:27:58 +02:00