| @@ 484-488 (lines=5) @@ | ||
| 481 | ||
| 482 | while($currentHeader = fgets($fp,$this->_maxlinelen)) |
|
| 483 | { |
|
| 484 | if ($this->read_timeout > 0 && $this->_check_timeout($fp)) |
|
| 485 | { |
|
| 486 | $this->status=-100; |
|
| 487 | return false; |
|
| 488 | } |
|
| 489 | ||
| 490 | // if($currentHeader == "\r\n") |
|
| 491 | if(preg_match("/^\r?\n$/", $currentHeader) ) |
|
| @@ 547-551 (lines=5) @@ | ||
| 544 | $results = gzinflate($results); |
|
| 545 | } |
|
| 546 | ||
| 547 | if ($this->read_timeout > 0 && $this->_check_timeout($fp)) |
|
| 548 | { |
|
| 549 | $this->status=-100; |
|
| 550 | return false; |
|
| 551 | } |
|
| 552 | ||
| 553 | // check if there is a a redirect meta tag |
|
| 554 | ||