| @@ 498-500 (lines=3) @@ | ||
| 495 | $this->_socket = null; |
|
| 496 | ||
| 497 | if ($isbad) { |
|
| 498 | if (isset($this->_spool[0]['State'])) { |
|
| 499 | $this->_spool[0]['State'] = 'BAD'; |
|
| 500 | } |
|
| 501 | $this->_state = 'BAD'; |
|
| 502 | ||
| 503 | $this->_bad_time = time(); |
|
| @@ 510-512 (lines=3) @@ | ||
| 507 | $this->_bad_timeout *= 2; |
|
| 508 | } |
|
| 509 | } else { |
|
| 510 | if (isset($this->_spool[0]['State'])) { |
|
| 511 | $this->_spool[0]['State'] = 'OPEN'; |
|
| 512 | } |
|
| 513 | $this->_state = 'CLOSED'; |
|
| 514 | } |
|
| 515 | $this->_callCallback($this->_webaccess_str.$errstr); |
|