diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-09 11:16:23 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-09 11:16:23 +0000 |
commit | 3e39706e91813f95f40244a2babd629f42b32565 (patch) | |
tree | 0bc4e1e50734c950154c6dc3842cb79803fc7d42 /regress/usr.bin | |
parent | c6fc3be9514938495b89e95cdd063ec99feebf27 (diff) |
Do not loose the send/expect validation error on timeout.
When a read timeout is reached, the code also has to check if there is
already anything in the input buffer and verify it again. This fixes
relayd and relayctl to show "send/expect failed" instead of "tcp read
timeout".
Found by Michael W. Lucas (while working on the Relayd Mastery book).
Thanks.
OK benno@
Diffstat (limited to 'regress/usr.bin')
0 files changed, 0 insertions, 0 deletions