curl-library
Re: splay related crashes in rtorrent, bzflag
From: Jari Sundell <sundell.software_at_gmail.com>
Date: Sun, 16 Jul 2006 21:03:04 +0200
Received on 2006-07-16
Date: Sun, 16 Jul 2006 21:03:04 +0200
On 7/16/06, Jari Sundell <sundell.software_at_gmail.com> wrote:
>
> On 7/16/06, Jari Sundell <sundell.software_at_gmail.com> wrote:
> >
> > Having looked at the splay code, I think the implementation could have
> > been cleaner and more robust.
> >
>
> The attached patch makes Curl_splayremovebyaddr properly handle double
> remove errors even if there's a node with the same key or the removed node
> was in the 'same' list.
>
The above changes got me closer to the point of failure. I found that
curl_multi_remove_handle sets easy->easy_handle->multi to NULL before
Curl_done is called, thus Curl_expire won't remove the timenode.
-- Rakshasa Nyaa?
- application/octet-stream attachment: multi_expire.diff