Ticket #275 (new defect)

Opened 3 months ago

Last modified 3 months ago

Auth_Yadis_ParanoidHTTPFetcher and Auth_Yadis_PlainHTTPFetcher

Reported by: =kisara Assigned to:
Priority: major Milestone:
Keywords: Cc:
Project: php-openid OpenID Protocol:
Series: Web Browser:

Description

In Auth_Yadis_Yadis::getHTTPFetcher (Yadis.php).

It gives '$timeout' to Auth_Yadis_ParanoidHTTPFetcher and Auth_Yadis_PlainHTTPFetcher.

... = new Auth_Yadis_ParanoidHTTPFetcher($timeout);
...
... = new Auth_Yadis_PlainHTTPFetcher($timeout);

But Auth_Yadis_ParanoidHTTPFetcher's (and Auth_Yadis_PlainHTTPFetcher's) constructor doesn't receive $timeout.

class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
    function Auth_Yadis_ParanoidHTTPFetcher()

...

I think...

->

class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher {
    function Auth_Yadis_ParanoidHTTPFetcher($timeout = 20)
    {
        ...
        $this->timeout = $timeout;
    }

Change History

07/04/08 07:52:49 changed by =kisara

  • project set to php-openid.