Re: [Kolab-devel] SSL configuration chaos for the HTTP_Request2 object

Aleksander Machniak <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <[email protected]>
On 08/25/2013 01:06 AM, Daniel Hoffend wrote:

> 2) create some kind of wrapper object/function in a central location/module
>    that returns the preconfigured HTTP_Request object.

I think we should create a static method in libkolab plugin. So, all
kolab plugins would use:

$this->require_plugin('libkolab');
$request = libkolab::http_request();

I see one issue here. kolab_files as for now doesn't require libkolab
plugin. Because it's possible (in the future) to use this plugin and
Chwala out of kolab, maybe it would be reasonable to keep separation of
this plugin and use separate code and configuration of HTTP_Request2 object.

> The possible ssl settings can be included in the config.inc.php or
> kolab.inc.php

Because it will be libkolab plugin then kolab.inc.php.

Please, create a ticket in bugzilla.

ps. we use HTTP_Request also in calendar plugin.

-- 
Aleksander Machniak
Software Developer
Kolab Systems AG: http://kolabsys.com
PGP: 19359DC1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.