Show
Ignore:
Timestamp:
09/05/08 22:55:58 (4 months ago)
Author:
sasezaki
Message:

lang/php/ びちょうせい(Http/Client/Adapter/TestPlus.phpとかの

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/ZendFramework_ext/library/Diggin/Http/Client/Adapter/TestPlus.php

    r17595 r18901  
    139139     */ 
    140140    public function connect($host, $port = 80, $secure = false) 
    141     { } 
     141    {  
     142        //require_once 'Zend/Http/Client/Adapter/Exception.php'; 
     143        //throw new Zend_Http_Client_Adapter_Exception('Unable to set the connection timeout'); 
     144    } 
    142145 
    143146    /** 
     
    197200            }             
    198201             
    199             $randkey = mt_rand(0, count($keys)-1); 
    200             $code = $keys[$randkey]; 
     202            shuffle($keys); 
     203            $code = current($keys); 
    201204             
    202205            $headers = Zend_Http_Response::extractHeaders($response_str);