mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
Fix http/s protocol headers
Improve request ids
This commit is contained in:
1 parent
f6d04777e1
commit
6f72d719bf
5 files changed
+35
-26
No files matched your search
@@ -45,15 +45,13 @@ class ConnectionManager implements ConnectionManagerContract
|
||||
|
||||
public function storeConnection(string $host, ?string $subdomain, ConnectionInterface $connection): ControlConnection
|
||||
{
|
||||
$clientId = (string) uniqid();
|
||||
|
||||
$connection->client_id = $clientId;
|
||||
$connection->client_id = sha1(uniqid('', true));
|
||||
|
||||
$storedConnection = new ControlConnection(
|
||||
$connection,
|
||||
$host,
|
||||
$subdomain ?? $this->subdomainGenerator->generateSubdomain(),
|
||||
$clientId,
|
||||
$connection->client_id,
|
||||
$this->getAuthTokenFromConnection($connection)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user