Discussion:
ioctl(sock, FIONBIO, 0) returns ECONNREFUSED after non-blocking connect() or accept()
Nils Goroll
2011-03-13 19:55:47 UTC
Permalink
Hi,

I am having a hard time understanding the issue documented in
http://www.varnish-cache.org/trac/ticket/865.

This happens at least on snv_124 and snv_111b with latest patches. Basically, it
looks like so_error could contain ECONNREFUSED after a non-blocking connect() or
accept().

Any pointers or hints would be appreciated.

Thanks, Nils
Rao Shoaib
2011-03-13 21:01:36 UTC
Permalink
Post by Nils Goroll
Hi,
I am having a hard time understanding the issue documented in
http://www.varnish-cache.org/trac/ticket/865.
This happens at least on snv_124 and snv_111b with latest patches. Basically, it
looks like so_error could contain ECONNREFUSED after a non-blocking connect() or
accept().
Any pointers or hints would be appreciated.
Thanks, Nils
_______________________________________________
networking-discuss mailing list
Can you provide a test case with which this problem can be reproduced.
The comments suggest that the connect attempt succeeds where as Solaris
thinks it did not. Can you provide the netstat output to confirm that.

Thanks,

Rao.
Nils Goroll
2012-02-06 16:03:32 UTC
Permalink
Just a very late follow-up: I have finally got around closing the varnish
ticket, this turned out not to be ralated to Solaris.
Post by Nils Goroll
I am having a hard time understanding the issue documented in
http://www.varnish-cache.org/trac/ticket/865.
Loading...