In message <4b793e98.2020...@schokola.de>, Nils Goroll writes:
>Poul-Henning,
>

>Just an idea from checking differences between the code I use and trunk: In 
>cnt_wait, shouldn't we check pfd[0].revents for POLLERR and POLLHUP? Could it 
>be 
>that Solaris assumes that delivery an error once should suffice, so further 
>use 
>of the fd will return EBADF?

That was one of my theories, but it does not fit the facs of the case,
and it would violate POSIX, which I doubt Solaris would do...

The best contender is still that varnish closes the fd by mistake,
but I'll be damned if I can find where...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
p...@freebsd.org         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to