Skip to content

Commit

Permalink
[VarDumper] Make the server TCP connection sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Apr 18, 2023
1 parent e2edac9 commit 9a8a5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function createSocket()
{
set_error_handler([self::class, 'nullErrorHandler']);
try {
return stream_socket_client($this->host, $errno, $errstr, 3, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT);
return stream_socket_client($this->host, $errno, $errstr, 3);
} finally {
restore_error_handler();
}
Expand Down

0 comments on commit 9a8a5b6

Please sign in to comment.