Plugin Directory

Changeset 158696


Ignore:
Timestamp:
09/28/2009 07:37:41 PM (16 years ago)
Author:
wnorris
Message:

more changes from google code

Location:
openid/trunk
Files:
8 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • openid/trunk/Auth/Yadis/HTTPFetcher.php

    r67133 r158696  
    139139     * is malformed.
    140140     */
    141     function get($url, $headers)
     141    function get($url, $headers = null)
    142142    {
    143143        trigger_error("not implemented", E_USER_ERROR);
  • openid/trunk/Auth/Yadis/ParanoidHTTPFetcher.php

    r67133 r158696  
    128128            curl_setopt($c, CURLOPT_TIMEOUT, $off);
    129129            curl_setopt($c, CURLOPT_URL, $url);
    130             curl_setopt($c, CURLOPT_RANGE,
    131                         "0-".(1024 * Auth_OpenID_FETCHER_MAX_RESPONSE_KB));
    132130
    133131            curl_exec($c);
  • openid/trunk/Auth/Yadis/PlainHTTPFetcher.php

    r67133 r158696  
    8484                             "Host: ".$parts['host'].
    8585                                ($specify_port ? ":".$parts['port'] : ""),
    86                              "Range: 0-".
    87                                 (1024*Auth_OpenID_FETCHER_MAX_RESPONSE_KB),
    8886                             "Port: ".$parts['port']);
    8987
  • openid/trunk/Auth/Yadis/XML.php

    r67133 r158696  
    9292     * objects to be used with other methods of this parser class.
    9393     */
    94     function evalXPath($xpath, $node = null)
     94    function &evalXPath($xpath, $node = null)
    9595    {
    9696        // Not implemented.
  • openid/trunk/Auth/Yadis/XRDS.php

    r67133 r158696  
    353353
    354354        foreach ($services as $node) {
    355             $s =& new Auth_Yadis_Service();
     355            $s = new Auth_Yadis_Service();
    356356            $s->element = $node;
    357357            $s->parser =& $this->parser;
     
    429429
    430430                foreach ($filters as $filter) {
    431                     if (call_user_func_array($filter, array($service))) {
     431                    if (call_user_func_array($filter, array(&$service))) {
    432432                        $matches++;
    433433
Note: See TracChangeset for help on using the changeset viewer.