olahol / melody

:notes: Minimalist websocket framework for Go
BSD 2-Clause "Simplified" License
3.75k stars 366 forks source link

Added read/write locks to session key value store #42 #47

Closed stamp closed 2 years ago

stamp commented 6 years ago

I noticed that the key/value store in session isn't concurrent safe so I added mutex locks to it

jonaz commented 6 years ago

@olahol can we get this merged please?

jonaz commented 4 years ago

@olahol can we please have this merged?

iwctwbai commented 2 years ago

Locking the MustGet will lead to deadlock

olahol commented 2 years ago

Fixed in v1.1.1