diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-12-02 14:27:00 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-12-05 23:21:02 +0100 |
commit | 07cb27c98e92649e74a312faf976271fa7da609c (patch) | |
tree | 174c9985ca7e8623401117608e52b46afe2914c2 /tests/data | |
parent | 85f0133ea14f411b4dae9c6239c83a67ca7bca89 (diff) | |
download | curl-07cb27c98e92649e74a312faf976271fa7da609c.tar.gz |
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
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test1554 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/data/test1554 b/tests/data/test1554 index 8739b2c8a..06f189724 100644 --- a/tests/data/test1554 +++ b/tests/data/test1554 @@ -29,11 +29,11 @@ run 1: foobar and so on fun! <- Mutex unlock -> Mutex lock <- Mutex unlock +run 1: foobar and so on fun! -> Mutex lock <- Mutex unlock -> Mutex lock <- Mutex unlock -run 1: foobar and so on fun! -> Mutex lock <- Mutex unlock -> Mutex lock @@ -47,11 +47,19 @@ run 1: foobar and so on fun! <- Mutex unlock -> Mutex lock <- Mutex unlock +-> Mutex lock +<- Mutex unlock +-> Mutex lock +<- Mutex unlock run 1: foobar and so on fun! -> Mutex lock <- Mutex unlock -> Mutex lock <- Mutex unlock +-> Mutex lock +<- Mutex unlock +-> Mutex lock +<- Mutex unlock </datacheck> </reply> |