]> granicus.if.org Git - curl/commit
multi: fix the transfer hashes in the socket hash entries
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2019 21:50:26 +0000 (23:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2019 10:31:23 +0000 (12:31 +0200)
commit8b987cc7eb8bd58eaf7c184e0db7103a236704bd
tree8e8ffde04e804140c59fff5e2146deb55490465a
parentf67009dd980d370f0518a923ba17947fe452451d
multi: fix the transfer hashes in the socket hash entries

- The transfer hashes weren't using the correct keys so removing entries
  failed.

- Simplified the iteration logic over transfers sharing the same socket and
  they now simply are set to expire and thus get handled in the "regular"
  timer loop instead.

Reported-by: Tom van der Woerdt
Fixes #4012
Closes #4014
lib/hash.h
lib/multi.c