]> granicus.if.org Git - curl/commit
multi: make sure the next timeout is used when one expires
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Aug 2010 22:08:45 +0000 (00:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 30 Aug 2010 22:10:44 +0000 (00:10 +0200)
commit0db9140747e65ab402768670b130b0ddaa88f883
tree31cf97c156a0b412a938a03e0257e05cbb8bf961
parent55c266de6d866436e8980dc4da34c71c424d0dda
multi: make sure the next timeout is used when one expires

Each easy handle has a list of timeouts, so as soon as the main timeout
for a handle expires, we must make sure to get the next entry from the
list and re-add the handle to the splay tree.

This was attempted previously but was done poorly in my commit
232ad6549a68450.
lib/multi.c