mirror of
https://github.com/curl/curl.git
synced 2026-07-28 15:13:06 +03:00
multi_remove_handle: close unused connect-only connections
Previously any connect-only connections in a multi handle would be kept alive until the multi handle was closed. Since these connections cannot be re-used, they can be marked for closure when the associated easy handle is removed from the multi handle. Closes #5749
This commit is contained in:
parent
faeec840f3
commit
d5bb459ccf
2 changed files with 36 additions and 4 deletions
|
|
@ -50,6 +50,8 @@ run 1: foobar and so on fun!
|
|||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
run 1: foobar and so on fun!
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
|
|
@ -65,6 +67,8 @@ run 1: foobar and so on fun!
|
|||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
run 1: foobar and so on fun!
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
|
|
@ -74,6 +78,8 @@ run 1: foobar and so on fun!
|
|||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
-> Mutex lock
|
||||
<- Mutex unlock
|
||||
</datacheck>
|
||||
</reply>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue