==================
send keepalive messages
==================

TCPKeepAlive yes

---

(client_config
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
do not send keepalive messages
==================

TCPKeepAlive no

---

(client_config
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
use irregular casing
==================

TCPKeEPAlive yes

---

(client_config
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
can use equals sign
==================

TCPKeEPAlive=yes

---

(client_config
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
can use equals sign with whitespace
==================

TCPKeEPAlive = yes

---

(client_config
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
can be specified after host
==================

Host example.com
  TCPKeepAlive no

---

(client_config
  (host
    (host_value))
  (tcp_keep_alive
    (tcp_keep_alive_value)))

==================
detect invalid values
==================

TCPKeEPAlive ja

---

(client_config
  (ERROR
    (UNEXPECTED 'j')))
