]> granicus.if.org Git - curl/commit
conncache: fix several lock issues
authorDaniel Stenberg <daniel@haxx.se>
Sat, 2 Dec 2017 13:27:00 +0000 (14:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Dec 2017 22:21:02 +0000 (23:21 +0100)
commit07cb27c98e92649e74a312faf976271fa7da609c
tree174c9985ca7e8623401117608e52b46afe2914c2
parent85f0133ea14f411b4dae9c6239c83a67ca7bca89
conncache: fix several lock issues

If the lock is released before the dealings with the bundle is over, it may
have changed by another thread in the mean time.

Fixes #2132
Fixes #2151
Closes #2139
lib/conncache.c
lib/conncache.h
lib/multi.c
lib/url.c
lib/urldata.h
tests/data/test1554