mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 05:55:54 +00:00
Fix http/s protocol headers
Improve request ids
This commit is contained in:
@@ -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