We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48288a8 commit e350a1cCopy full SHA for e350a1c
src/Connection.php
@@ -6,20 +6,6 @@
6
7
class Connection extends Stream implements ConnectionInterface
8
{
9
- public function handleData($stream)
10
- {
11
- // Socket is raw, not using fread as it's interceptable by filters
12
- // See issues #192, #209, and #240
13
- $data = stream_socket_recvfrom($stream, $this->bufferSize);
14
- if ('' !== $data && false !== $data) {
15
- $this->emit('data', array($data, $this));
16
- }
17
-
18
- if ('' === $data || false === $data || !is_resource($stream) || feof($stream)) {
19
- $this->end();
20
21
22
23
public function handleClose()
24
25
if (is_resource($this->stream)) {
0 commit comments