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
Jocelyn Fiat
e3e6fd7f62
better error output for CGI connector
2013-03-29 21:00:02 +01:00
Jocelyn Fiat
1fcc69b268
check against capacity not count
2013-03-29 15:09:34 +01:00
Jocelyn Fiat
178a48cd7e
Updated all-safe.ecf
...
(add all-stable-safe.ecf that includes only the library, examples and specific draft lib)
2013-03-27 15:22:32 +01:00
Jocelyn Fiat
a05e08c207
corrected null-safe.ecf
2013-03-27 13:07:55 +01:00
Jocelyn Fiat
955272f505
Do not use socket_ok .. but readable (as specified in precondition of read_stream_thread_aware
2013-03-26 09:16:34 +01:00
Jocelyn Fiat
1f7f569d82
restored assertion removed by error
2013-03-22 20:12:12 +01:00
Jocelyn Fiat
c44cf5e983
Fixed assertion that were broken with recent delayed header response.
...
Changed semantic of put_header_lines and add_header_lines,
Now the arguments are iterable of string (i.e the header line)
The previous features were not used, and were not well named.
So we removed them, and reused the names for adpated implementation.
2013-03-22 16:06:10 +01:00
Olivier Ligot
2ff2dbb7c3
Merge branch 'cors' of github.com:oligot/EWF into cors
2013-03-15 14:19:52 +01:00
Jocelyn Fiat
86777d75ea
Implemented more user friendly WSF_RESPONSE
...
i.e allow to change the status code and the header as long as no content is really sent back to the client
This requires an addition WGI_RESPONSE, new post_commit_action: PROCEDURE [...]
2013-03-12 16:52:45 +01:00
Jocelyn Fiat
22a725b8be
Added a way to call a callback on launched and stopped for Nino connector
2013-02-27 21:49:42 +01:00
Olivier Ligot
12404a2d5c
CORS: respect specification regarding Access-Control-Allow-Headers
...
According to the specification, the value of the response header
Access-Control-Allow-Headers must contain at least all the values of the
request header Access-Control-Request-Headers to be considered a valid request.
Before this commit, only the Authorization value was present, which is enough
for Firefox but not for Chrome.
This should now work as expected.
2013-02-22 15:58:09 +01:00
Jocelyn Fiat
4ff7b33471
using socket_ok does not sounds ok on linux
2012-12-21 07:19:13 +01:00