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 0fda846 commit 19bc0c4Copy full SHA for 19bc0c4
Connection.php
@@ -24,7 +24,9 @@ public function handleData($stream)
24
public function handleClose()
25
{
26
if (is_resource($this->stream)) {
27
+ // http://chat.stackoverflow.com/transcript/message/7727858#7727858
28
stream_socket_shutdown($this->stream, STREAM_SHUT_RDWR);
29
+ stream_set_blocking($this->stream, false);
30
fclose($this->stream);
31
}
32
0 commit comments