]> granicus.if.org Git - curl/commit
multi: assign IDs to all timers and make each timer singleton
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 May 2017 10:47:49 +0000 (12:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 May 2017 09:02:47 +0000 (11:02 +0200)
commite9fd794a616c10bd0d017a76f8fdccaf4cc76851
tree26c659c7681db2b9bfcec3f0dadc302823376856
parent8dfa378e528917fd253780fd8414795ed868ab0f
multi: assign IDs to all timers and make each timer singleton

 A) reduces the timeout lists drastically

 B) prevents a lot of superfluous loops for timers that expires "in vain"
    when it has actually already been extended to fire later on
lib/asyn-ares.c
lib/connect.c
lib/easy.c
lib/ftp.c
lib/http2.c
lib/multi.c
lib/multiif.h
lib/pipeline.c
lib/speedcheck.c
lib/transfer.c