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.
2 parents ccca668 + fe9999d commit dd3c325Copy full SHA for dd3c325
src/Connection.php
@@ -127,13 +127,9 @@ public function handleClose()
127
}
128
129
// Try to cleanly shut down socket and ignore any errors in case other
130
- // side already closed. Shutting down may return to blocking mode on
131
- // some legacy versions, so reset to non-blocking just in case before
132
- // continuing to close the socket resource.
133
- // Underlying Stream implementation will take care of closing file
134
- // handle, so we otherwise keep this open here.
+ // side already closed. Underlying Stream implementation will take care
+ // of closing stream resource, so we otherwise keep this open here.
135
@\stream_socket_shutdown($this->stream, \STREAM_SHUT_RDWR);
136
- \stream_set_blocking($this->stream, false);
137
138
139
public function getRemoteAddress()
0 commit comments