Skip to content

Commit 2ff642e

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [Mailer] Fix usage of stream_set_timeout in case of microseconds [Security] Update InteractiveAuthenticatorInterface description
2 parents 74412c6 + 869c114 commit 2ff642e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Smtp/Stream/SocketStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function initialize(): void
160160
}
161161

162162
stream_set_blocking($this->stream, true);
163-
stream_set_timeout($this->stream, $timeout);
163+
stream_set_timeout($this->stream, (int) $timeout, (int) (($timeout - (int) $timeout) * 1000000));
164164
$this->in = &$this->stream;
165165
$this->out = &$this->stream;
166166
}

0 commit comments

Comments
 (0)