Skip to content

Commit a2e7171

Browse files
committed
remove whitespace
1 parent 97de988 commit a2e7171

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Client.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,12 +577,12 @@ private function sendRawRequest(string $host, int $port, string $rawRequest)
577577
@socket_connect($this->socket, $host, $port);
578578
$connectTime = (microtime(true) - $connectStart) * 1000;
579579
$socketErrorCode = socket_last_error($this->socket);
580-
580+
581581
// Get local socket information for logging (available after socket_connect call)
582582
$localAddress = '';
583583
$localPort = 0;
584584
socket_getsockname($this->socket, $localAddress, $localPort);
585-
585+
586586
if ($socketErrorCode === 115) {
587587
$this->logger->info('Bedrock\Client - socket_connect returned error 115, waiting for connection to complete.', [
588588
'host' => $host,
@@ -606,11 +606,11 @@ private function sendRawRequest(string $host, int $port, string $rawRequest)
606606
// Check if there's a pending error on the socket that might explain the timeout
607607
$pendingError = socket_get_option($this->socket, SOL_SOCKET, SO_ERROR);
608608
$pendingErrorStr = $pendingError ? socket_strerror($pendingError) : 'none';
609-
609+
610610
// Get socket buffer sizes to check for misconfigurations
611611
$sendBufferSize = socket_get_option($this->socket, SOL_SOCKET, SO_SNDBUF);
612612
$receiveBufferSize = socket_get_option($this->socket, SOL_SOCKET, SO_RCVBUF);
613-
613+
614614
$this->logger->error('Bedrock\Client - Socket timeout after EINPROGRESS', [
615615
'localAddress' => $localAddress,
616616
'localPort' => $localPort,

0 commit comments

Comments
 (0)