wt., 24 lis 2020 o 10:34 Willy Tarreau <w...@1wt.eu> napisał(a):

> I prefer the former. If there's a list head, it must be valid. We must
> not start to look at list pointers to guess whether or not they are
> properly initialized, there are enough exceptions and special cases
> everywhere in the code not to add new ones.
>
Now when you pointed it out I agree that it's easier to remember to
properly init the list than validate it everytime we want to use it.

I'll do my best not to introduce such bugs in future.

Thank you Tim & Willy!

Reply via email to