commit | a970c283cc9f7fac25c6c10763730a0a6e59c677 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 06 12:47:19 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 06 12:47:19 2013 +0100 |
tree | 018ddd06dacf86cf72cf0ade446ebdf2bf16448e | |
parent | 5ecb77f4c76fd240d8f5443f12151268bafe1b0a [diff] |
BUG/MEDIUM: checks: tcp-check: do not poll when there's nothing to send A config with just a "tcp-check expect string XXX" loops at 100% CPU because the connect() wakes the function and there's nothing to send, but it does not disable the polling. Rearrange the polling setup to fix this. This was just caused by latest commit, no backport is needed.