From df551d4a4f36e96c89e841176a56bf81c9af60e6 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Mon, 26 Sep 2016 13:13:57 +0200 Subject: [PATCH] Use latest API from http_client using DEFAULT_HTTP_CLIENT, that could use libcurl or EiffelNet depending on the configuration (.ecf). --- library/security/openid/consumer/src/openid_consumer.e | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/security/openid/consumer/src/openid_consumer.e b/library/security/openid/consumer/src/openid_consumer.e index 68b73a5c..95123a5a 100644 --- a/library/security/openid/consumer/src/openid_consumer.e +++ b/library/security/openid/consumer/src/openid_consumer.e @@ -508,9 +508,9 @@ feature -- Helper new_session (a_uri: READABLE_STRING_8): HTTP_CLIENT_SESSION local - cl: LIBCURL_HTTP_CLIENT + cl: DEFAULT_HTTP_CLIENT do - create cl.make + create cl Result := cl.new_session (a_uri) Result.set_is_insecure (True) Result.set_max_redirects (5)