Re: Couple of issues with SMTP_CHECK

Chris Adams <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Once upon a time, Chris Adams <[email protected]> said:
> Oops, sorry, my bad; I must have scanned down the man page a little too
> fast (and thought all the "connect_*" directives went together).

I think my confusion is because connect_port usage is inconsistent; for
HTTP_GET, SSL_GET, and TCP_CHECK, it goes in the section under the
check.  Only the SMTP_CHECK has the extra host {} level of
configuration.

Also, when I added a host {} section to my SMTP_CHECK config with a
connect_port specified, the healthchecker process segfaulted.

    real_server 10.0.9.144 587 {
        weight 1
        SMTP_CHECK {
            connect_timeout 3
	    host {
		connect_port 587
	    }
        }
    }

I also tried adding connect_ip (even though the man page says it is
optional), but it still segfaulted.  Trying to find the correct CentOS
debuginfo package to see more.
-- 
Chris Adams <[email protected]>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.