--------
In message 
<cajv_h0awggdr2qiskutdokc7coc6b7bzaj_8demrcbcly58...@mail.gmail.com>, Federico 
Schwindt writes:

> Error message will be reported as e.g. "Connection refused" instead of simply 
> "
> (null)".
> 
> OK?

I don't think that is helpful.

First, we have no idea if the errno at that point corresponds to whatever
the iterator function failed on, and second there may not even be an
associated errno.

The correct solution would be to pass the 'err' variable to the iterator
so it can set an appropriate text.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to