juju / persistent-cookiejar

cookiejar is a fork of net/http/cookiejar that allows serialisation of the stored cookies
BSD 3-Clause "New" or "Revised" License
112 stars 75 forks source link

Implement merging; for better concurrency; persistence next up. #5

Closed rogpeppe closed 8 years ago

rogpeppe commented 8 years ago

With this method implemented, concurrent persistence can be implemented as follows:

obtain write lock on file.
read jar from file
merge with current jar
write merged jar to file
unlock
mhilton commented 8 years ago

:+1: LGTM

jrwren commented 8 years ago

:+1: