[PATCH] Solaris: Test for SO_{RCV,SND}TIMEO needs NET_LIBS

Nils Goroll slink at schokola.de
Sun Mar 13 13:45:00 CET 2011


Hi Theo and all,

On 03/13/11 12:58 AM, Theo Schlossnagle wrote:
> Do you have evidence that they work?  both setsockopt and the
> SO_RCVTIMEO define have existed for 10+ years, but anytime setsockopt
> is called with that, it will simply fail.

Yes. tests/b0002[25].vtc pass on my snv_134 machine. Before, they were always
skipped due to the missing feature ("SKIPPING test, missing feature
SO_RCVTIMEO_WORKS"), now they actually do something.

All other tests fail sometimes, but not reproducibly, with an "Assert error in
TCP_blocking(), tcp.c line 184:  Condition(TCP_Check(j)) not true.". I am still
trying to understand this (see also http://www.varnish-cache.org/trac/ticket/865 )

I will report on experience with production systems when I have it.

Nils




More information about the varnish-dev mailing list