Comment 2 for bug 778692

Revision history for this message
mortheres (mortheres) wrote :

Hi Steve,

Thanks a lot for your report and your proposal. A better way it to use $network object (from Network.pm) because it contains the Useragent settings ($ua) and the credentials you set in your ocsinventory-agent.cfg or in command line. When Download.pm uses $network instead of creating a new LWP object, it fix the problem.

The bug has been correct in revision 1047 of the stable-2.0 branch of the OCS Unix agent: http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/stable-2.0/revision/1047 . This fix will be released in the final OCS 2.0 release :) :).

Kind regards,

Guillaume