Changeset 8270 for temp/trunk/data


Ignore:
Timestamp:
2006/11/13 14:52:55 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/data/module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/module/Net/Socket.php

    r8269 r8270  
    449449        $timeout = time() + $this->timeout; 
    450450         
     451         
    451452        $fp = $this->fp; 
    452453        while (($c =@fgets($fp, $this->lineLength))!==false && (!$this->timeout || time() < $timeout)) { 
    453454            $line .= $c; 
    454455            if (substr($line, -1) == "\n") { 
     456                 
    455457                return rtrim($line, "\r\n"); 
    456458            } 
    457             sfprintr("Socket"); 
    458             sfprintr($line); 
    459         } 
    460          
     459        } 
    461460         
    462461        /* 
  • temp/trunk/data/module/Request.php

    r8269 r8270  
    683683            // Read the response 
    684684            $this->_response = &new HTTP_Response($this->_sock, $this->_listeners); 
     685            sfprintr($this->_response); 
    685686            $err = $this->_response->process( 
    686687                $this->_saveBody && $saveBody, 
     
    11181119        do { 
    11191120            $line = $this->_sock->readLine(); 
    1120             sfprintr($line); 
    11211121            if (sscanf($line, 'HTTP/%s %s', $http_version, $returncode) != 2) { 
    11221122                return PEAR::raiseError('Malformed response.'); 
Note: See TracChangeset for help on using the changeset viewer.