Load balancer (relayd) Send/Expect monitor does not send \0x0a (new line)
I am trying to use "Send/Expect" monitor for a load balancer pool.
The monitor sends "STATUS" and expects "+OK" from the server.
It does work reliably in telnet session however the check fails when it is done from pfSense.
I went to investigate and discovered that relayd does not send "\n" (\0x0a, new line) following the text.
The server waits for the end of input, never gets it and closes connection with "idle timeout" message.
As result monitor check fails, pool members marked as being down.
I tried various ways of specifying "\n" in the "Send string" field of "Services: Load Balancer: Monitor: Edit" or via viconfig but to no avail.
Reading relayd manual page did not help either.
What is the correct way of specifying Send string so that it is sent with "\n" at the end?
I use pfSense 2.2.6-RELEASE 64 bit
Below is the snippet of XML configuration related to the monitor
<monitor_type><name>SCANNER</name> <type>send</type> <options><send>STATUS</send> <expect>+OK</expect></options></monitor_type>
Thank you for your help!