Re: [evolution-patches] patches for ssl enabling gw cal and addressbook backends



On Fri, 2004-07-09 at 20:23 +0530, Sivaiah N wrote:
> Hi,
> Attached are small patches for ssl enabling of the groupwise
> cal/contacts backends. Both backends read the use_ssl property from
> e-source and uses the http or https prefixes in uri depending upon
> whether ssl is there or not. When use_ssl value is  "when_possible" both
> try first with https and then wiht http if that fails.
> 

> +               if (!E_IS_GW_CONNECTION(priv->cnc) && use_ssl &&
> g_str_equal (use_ssl, "when-possible")) {
> +                       http_uri = g_strconcat ("http://";, real_uri +
> 8, NULL);
> +                       priv->cnc = e_gw_connection_new (http_uri,
> priv->username, priv->password);
> +                       g_free (http_uri);
> +               }
> 
I don't understand this very well, if use_ssl is TRUE, why do you use
http?

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]