more secure connection ids

This commit is contained in:
David Botton 2022-07-15 09:50:26 -04:00
parent 29fb063ad6
commit 8097a8b344

View file

@ -178,7 +178,7 @@ the default answer. (Private)"
(setf (gethash id *connection-ids*) connection)
(setf (gethash connection *connections*) id))
(t
(setf id (generate-id))
(setf id (+ (get-universal-time) (generate-id)))
(setf (gethash connection *connections*) id)
(setf (gethash id *connection-ids*) connection)
(setf (gethash id *connection-data*)