Skip to content

Commit

Permalink
Add error suppression for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Jan 20, 2019
1 parent 8b364a9 commit 3cdbf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Internal/Rfc6455Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function reapClient(
if (\function_exists('socket_import_stream') && \defined('TCP_NODELAY')) {
$sock = \socket_import_stream($socket->getResource());
/** @noinspection PhpComposerExtensionStubsInspection */
\socket_set_option($sock, \SOL_TCP, \TCP_NODELAY, 1);
@\socket_set_option($sock, \SOL_TCP, \TCP_NODELAY, 1); // error suppression for sockets which don't support the option
}

Promise\rethrow(new Coroutine($this->tryAppOnOpen($client->id, $request)));
Expand Down

0 comments on commit 3cdbf34

Please sign in to comment.