cf549e8f62
Fixed typo.
2015-04-07 15:02:44 +02:00
c820ef431b
Fixed a typo.
2015-04-07 14:47:38 +02:00
92a8e8094f
Merged DbC and cosmetic related changes from remote-tracking branch 'javier/concurrent_httpd'.
2015-04-07 14:40:03 +02:00
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
7ac20bbcbc
renamed keep_alive_requested as is_persistent_connection_requested.
2015-04-01 22:51:20 +02:00
6f74361223
Following the spec, use "keep-alive" and "close" in lowercase for Connection header.
2015-04-01 22:44:24 +02:00
c25ea52bf8
Better support for HTTP/1.0 and also related to persistent connection.
2015-04-01 22:41:43 +02:00
c2bca44bbd
Improved support for HTTP/1.0 persistent connection.
2015-04-01 20:11:30 +02:00
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
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
3710c787d1
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-03-31 21:33:38 +02:00
060a2bb952
Migrated most of the example and library to new design.
2015-03-31 14:50:20 +02:00
449720c99e
Implemented support for base url in httpd connector.
2015-03-25 22:22:57 +01:00
2b7fbb0724
Migrated simple, simple_file and upload_image example.
...
Adapted EWF accordingly.
2015-03-25 14:56:38 +01:00
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
da6125a321
Support for concurrencies: none, thread and SCOOP
2015-03-20 15:48:54 +01:00
d4847251ef
Finally SCOOP supported.
2015-03-20 13:37:54 +01:00
7914402a51
Experiment to avoid pseudo sequential execution
2015-03-17 15:52:15 +01:00
592975dfe2
First attempt to use `{NETWORK_STREAM_SOCKET}.accept_to'
2015-03-17 09:48:11 +01:00
33ec1bc2d3
First steps to provide a concurrent compliant EWF connector.
2015-03-13 16:26:07 +01:00
ff19adc6c8
Improved comment related to PATH_INFO and stripping multiple slashes sequence to single slash.
2014-07-07 11:27:31 +02:00
1b4b50ee80
Replace any multiple slash sequence by a single slash character for PATH_INFO.
2014-07-02 11:36:43 +02:00
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
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
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
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
bbc2bab0eb
Removed usage of remote anchor types.
2014-02-28 14:25:13 +01:00
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
4f15745647
For Nino connector, ensured that environment variables are percent-encoded in meta variables.
2013-12-02 10:26:23 +01:00
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
225cda0af7
minor optimization avoiding to create temporary string that might be big
2013-06-12 18:23:18 +02:00
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 Fiat
e3e6fd7f62
better error output for CGI connector
2013-03-29 21:00:02 +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
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
Jocelyn Fiat
4ff7b33471
using socket_ok does not sounds ok on linux
2012-12-21 07:19:13 +01:00
Jocelyn Fiat
a362e7d9c6
Avoid calling ANY.print, prefer io.error.put_string
...
Fixed obsolete calls.
2012-12-20 18:32:56 +01:00
Jocelyn Fiat
e20cb6b6ed
make it compiles with EiffelStudio 7.1 and 7.2
2012-12-07 14:55:38 +01:00
Jocelyn Fiat
39c3e8c5cf
corrected null connector ecf files
2012-12-05 22:39:05 +01:00
Jocelyn Fiat
a9f3ea7886
Prepare upcoming support for unicode environment variables
2012-12-05 22:30:21 +01:00
Jocelyn Fiat
12d56861e6
Fixing wrong path for ewsgi connector nino
...
(this was introduced recently when we moved folder location)
2012-06-15 14:15:44 +02:00
Jocelyn Fiat
3702842337
Updated structure of EWF, applied
...
Now "nino" is under contrib/library/network/server/nino (as git merge subtree, and not anymore as submodule)
2012-06-14 13:35:08 +02:00
Jocelyn Fiat
db448001a1
Change structure of EWF, to follow better categorization
2012-06-13 22:32:17 +02:00