mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 18:50:42 -08:00
more secure connection ids
This commit is contained in:
parent
29fb063ad6
commit
8097a8b344
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ the default answer. (Private)"
|
||||||
(setf (gethash id *connection-ids*) connection)
|
(setf (gethash id *connection-ids*) connection)
|
||||||
(setf (gethash connection *connections*) id))
|
(setf (gethash connection *connections*) id))
|
||||||
(t
|
(t
|
||||||
(setf id (generate-id))
|
(setf id (+ (get-universal-time) (generate-id)))
|
||||||
(setf (gethash connection *connections*) id)
|
(setf (gethash connection *connections*) id)
|
||||||
(setf (gethash id *connection-ids*) connection)
|
(setf (gethash id *connection-ids*) connection)
|
||||||
(setf (gethash id *connection-data*)
|
(setf (gethash id *connection-data*)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue