]> granicus.if.org Git - curl/commit
multi: use a fixed array of timers instead of malloc
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 10:55:36 +0000 (12:55 +0200)
commit31b39c40cf909d34f27dc655755f346482f57089
tree4fcf5799aebdf1573b6789f1a19ef3ac8aa0e279
parente9fd794a616c10bd0d017a76f8fdccaf4cc76851
multi: use a fixed array of timers instead of malloc

... since the total amount is low this is faster, easier and reduces
memory overhead.

Also, Curl_expire_done() can now mark an expire timeout as done so that
it never times out.

Closes #1472
12 files changed:
lib/asyn-ares.c
lib/asyn-thread.c
lib/easy.c
lib/http.c
lib/http2.c
lib/llist.c
lib/multi.c
lib/multiif.h
lib/pipeline.c
lib/ssh.c
lib/transfer.c
lib/urldata.h