forked from gitea/gitea
1
0
Fork 0
gitea/vendor/gitea.com/go-chi
zeripath 8af7a21085
Update go-chi/session (fixes "race" in tests) (#17031)
Update to latest go-chi/session where the NewManager causes a new
Provider instantiation instead of reconfiguring an old one.
(https://gitea.com/go-chi/session/pulls/1)

The NewManager call is now concurrency safe and would allow live
reconfiguration in future but for now this PR simply fixes an
intermittent "data-race" detected in our tests.  (See
https://drone.gitea.io/go-gitea/gitea/43900/2/14)

Related #17027
Related #1441

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-13 09:40:55 +01:00
..
binding Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
cache Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
captcha Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
session Update go-chi/session (fixes "race" in tests) (#17031) 2021-09-13 09:40:55 +01:00