Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - veldenb

#1
I'm trying to configure a tcp-ip check using the GUI. The case is fairly simple and described in the haproxy documentation.
I want to configure a health check that does the following:


option tcp-check
tcp-check connect
tcp-check send GET\ /\ HTTP/1.0\r\nHost:\ haproxy.1wt.eu\r\n\r\n
tcp-check expect rstring (2..|3..)


See also https://cbonte.github.io/haproxy-dconv/2.0/configuration.html#4.2-tcp-check%20connect
I know a http-check exists but it does not suit my case.

When I configure this in the GUI the actual config file ends up corrupted (parse error) because it is saved as:


option tcp-check
tcp-check connect
tcp-check send GET\ /\ HTTP/1.0\r\nHost:\ haproxy.1wt.eu\r\n\r\n expect rstring (2..|3..)


Is this a bug or is there a way to work around this issue? It seems the plugin only expects a "send" or "expect" but not both although you can enter it in the GUI.