fukamachi / lack

Lack, the core of Clack
MIT License
155 stars 33 forks source link

In-memory session store is not thread safe #57

Open svetlyak40wt opened 3 years ago

svetlyak40wt commented 3 years ago

This type of store uses a hash table and sometimes it gets corrupted. When it is in a corrupted state, lack is unable to add new sessions and clack returns HTTP 500 errors :(

This is the reason why Ultralisp sometimes goes down :(

I'll send a patch with a lock added.

svetlyak40wt commented 3 years ago

Created a fix: https://github.com/fukamachi/lack/pull/58