Merge pull request #130 from pupaxxo/patch-1

Reset pointer to the beginning of authentication file
This commit is contained in:
Robin Appelman 2024-11-05 16:34:05 +01:00 committed by GitHub
commit 35b33f0a72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,6 +213,7 @@ class RawConnection {
$this->authStream = fopen('php://temp', 'w+'); $this->authStream = fopen('php://temp', 'w+');
fwrite($this->authStream, $auth); fwrite($this->authStream, $auth);
rewind($this->authStream);
} }
/** /**