PHPDaemon/Network/IOStream.php 1 location
|
@@ 339-342 (lines=4) @@
|
| 336 |
|
$this->finish(); |
| 337 |
|
return; |
| 338 |
|
} |
| 339 |
|
if (!$this->bev->enable(\Event::READ | \Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 340 |
|
$this->finish(); |
| 341 |
|
return; |
| 342 |
|
} |
| 343 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 344 |
|
init: |
| 345 |
|
if ($this->keepalive && $this->fd != null) { |
PHPDaemon/Core/ShellCommand.php 2 locations
|
@@ 234-237 (lines=4) @@
|
| 231 |
|
if ($this->timeout !== null) { |
| 232 |
|
$this->setTimeout($this->timeout); |
| 233 |
|
} |
| 234 |
|
if (!$this->bev->enable(\Event::READ | \Event::TIMEOUT | \Event::PERSIST)) { |
| 235 |
|
$this->finish(); |
| 236 |
|
return; |
| 237 |
|
} |
| 238 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 239 |
|
$this->finish(); |
| 240 |
|
return; |
|
@@ 238-241 (lines=4) @@
|
| 235 |
|
$this->finish(); |
| 236 |
|
return; |
| 237 |
|
} |
| 238 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 239 |
|
$this->finish(); |
| 240 |
|
return; |
| 241 |
|
} |
| 242 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 243 |
|
|
| 244 |
|
init: |