Skip to content

Commit

Permalink
Merge branch '5.4' into 6.3
Browse files Browse the repository at this point in the history
* 5.4:
  [Mailer] Fix usage of stream_set_timeout in case of microseconds
  [Console] Allow false as a $shortcut in InputOption
  Remove 6.3 EOLed from Github template
  Fix plurial of word ending by pus
  [Notifier][Smsapi] Better docs for .com endpoint
  Bump Symfony version to 5.4.36
  Update VERSION for 5.4.35
  Update CONTRIBUTORS for 5.4.35
  Update CHANGELOG for 5.4.35
  [Security] Update InteractiveAuthenticatorInterface description
  • Loading branch information
fabpot committed Feb 2, 2024
2 parents 3cbb745 + b57d722 commit 869c114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport/Smtp/Stream/SocketStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function initialize(): void
}

stream_set_blocking($this->stream, true);
stream_set_timeout($this->stream, $timeout);
stream_set_timeout($this->stream, (int) $timeout, (int) (($timeout - (int) $timeout) * 1000000));
$this->in = &$this->stream;
$this->out = &$this->stream;
}
Expand Down

0 comments on commit 869c114

Please sign in to comment.