Removed a few obsolete calls.
Updated tests/all.ecf to include a few missing libraries.
This commit is contained in:
@@ -296,6 +296,8 @@ feature -- Element change
|
|||||||
|
|
||||||
set_secure_protocol_from_string (a_ssl_version: READABLE_STRING_GENERAL)
|
set_secure_protocol_from_string (a_ssl_version: READABLE_STRING_GENERAL)
|
||||||
-- Set `secure_protocol' with `a_ssl_version'.
|
-- Set `secure_protocol' with `a_ssl_version'.
|
||||||
|
local
|
||||||
|
err: DEVELOPER_EXCEPTION
|
||||||
do
|
do
|
||||||
if a_ssl_version.is_case_insensitive_equal ("tls_1_2") then
|
if a_ssl_version.is_case_insensitive_equal ("tls_1_2") then
|
||||||
set_secure_protocol_to_tls_1_2
|
set_secure_protocol_to_tls_1_2
|
||||||
@@ -307,7 +309,9 @@ feature -- Element change
|
|||||||
set_secure_protocol_to_dtls_1_0
|
set_secure_protocol_to_dtls_1_0
|
||||||
elseif a_ssl_version.is_case_insensitive_equal ("ssl_2_3") then
|
elseif a_ssl_version.is_case_insensitive_equal ("ssl_2_3") then
|
||||||
-- Obsolete!
|
-- Obsolete!
|
||||||
set_secure_protocol_to_ssl_2_or_3
|
create err
|
||||||
|
err.set_description ("SSL_2 or SSL_3 are not supported anymore, upgrate to TLS set_secure_protocol_to_tls_1_2")
|
||||||
|
err.raise
|
||||||
else -- Default
|
else -- Default
|
||||||
set_secure_protocol_to_tls_1_2
|
set_secure_protocol_to_tls_1_2
|
||||||
end
|
end
|
||||||
@@ -343,7 +347,7 @@ feature -- SSL Helpers
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
copyright: "2011-2018, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -460,7 +460,6 @@ feature {NONE} -- Implementation
|
|||||||
require
|
require
|
||||||
all_protections_valid: across a_protections as ic all ic.item.is_valid end
|
all_protections_valid: across a_protections as ic all ic.item.is_valid end
|
||||||
local
|
local
|
||||||
v: WSF_STRING
|
|
||||||
prot: WSF_PROTECTION
|
prot: WSF_PROTECTION
|
||||||
do
|
do
|
||||||
if a_value /= Void then
|
if a_value /= Void then
|
||||||
@@ -478,7 +477,7 @@ feature {NONE} -- Implementation
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
copyright: "2011-2018, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
@@ -111,9 +111,9 @@ feature -- Execution
|
|||||||
i := l_raw_header.substring_index ("%R%N", 1)
|
i := l_raw_header.substring_index ("%R%N", 1)
|
||||||
if i > 0 then
|
if i > 0 then
|
||||||
-- Skip the first status line.
|
-- Skip the first status line.
|
||||||
create h.make_from_raw_header_data (l_raw_header.substring (i + 2, l_raw_header.count).as_string_8_conversion) -- NOTE: it is string 8 per nature.
|
create h.make_from_raw_header_data (l_raw_header.substring (i + 2, l_raw_header.count).to_string_8) -- NOTE: it is string 8 per nature.
|
||||||
else
|
else
|
||||||
create h.make_from_raw_header_data (l_raw_header.as_string_8_conversion)
|
create h.make_from_raw_header_data (l_raw_header.to_string_8)
|
||||||
end
|
end
|
||||||
if attached l_remote_uri.host as l_remote_host then
|
if attached l_remote_uri.host as l_remote_host then
|
||||||
if l_remote_uri.port > 0 then
|
if l_remote_uri.port > 0 then
|
||||||
|
|||||||
@@ -39,12 +39,16 @@
|
|||||||
<library name="wsf_cgi" location="..\library\server\wsf\connector\cgi.ecf" readonly="false"/>
|
<library name="wsf_cgi" location="..\library\server\wsf\connector\cgi.ecf" readonly="false"/>
|
||||||
<library name="wsf_extension" location="..\library\server\wsf\wsf_extension.ecf" readonly="false"/>
|
<library name="wsf_extension" location="..\library\server\wsf\wsf_extension.ecf" readonly="false"/>
|
||||||
<library name="wsf_html" location="..\library\server\wsf_html\wsf_html.ecf" readonly="false"/>
|
<library name="wsf_html" location="..\library\server\wsf_html\wsf_html.ecf" readonly="false"/>
|
||||||
|
<library name="wsf_proxy" location="..\library\server\wsf_proxy\wsf_proxy.ecf" readonly="false"/>
|
||||||
<library name="wsf_js_widget" location="..\draft\library\server\wsf_js_widget\wsf_js_widget.ecf" readonly="false"/>
|
<library name="wsf_js_widget" location="..\draft\library\server\wsf_js_widget\wsf_js_widget.ecf" readonly="false"/>
|
||||||
|
<library name="wsf_standalone" location="..\library\server\wsf\connector\standalone.ecf" readonly="false"/>
|
||||||
|
<library name="wsf_standalone_websocket" location="..\library\server\wsf\connector\standalone_websocket.ecf" readonly="false"/>
|
||||||
<library name="wsf_libfcgi" location="..\library\server\wsf\connector\libfcgi.ecf" readonly="false"/>
|
<library name="wsf_libfcgi" location="..\library\server\wsf\connector\libfcgi.ecf" readonly="false"/>
|
||||||
<library name="wsf_openshift" location="..\library\server\wsf\connector\openshift.ecf" readonly="false"/>
|
<library name="wsf_openshift" location="..\library\server\wsf\connector\openshift.ecf" readonly="false"/>
|
||||||
<library name="wsf_policy_driven" location="..\library\server\wsf\wsf_policy_driven.ecf" readonly="false"/>
|
<library name="wsf_policy_driven" location="..\library\server\wsf\wsf_policy_driven.ecf" readonly="false"/>
|
||||||
<library name="wsf_router_context" location="..\library\server\wsf\wsf_router_context.ecf" readonly="false"/>
|
<library name="wsf_router_context" location="..\library\server\wsf\wsf_router_context.ecf" readonly="false"/>
|
||||||
<library name="wsf_session" location="..\library\server\wsf\wsf_session.ecf" readonly="false"/>
|
<library name="wsf_session" location="..\library\server\wsf\wsf_session.ecf" readonly="false"/>
|
||||||
|
<library name="wsf_security" location="..\library\server\wsf\wsf_security.ecf" readonly="false"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="all_none" extends="all">
|
<target name="all_none" extends="all">
|
||||||
<description>Compiling with None concurrency</description>
|
<description>Compiling with None concurrency</description>
|
||||||
|
|||||||
Reference in New Issue
Block a user