diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-09-23 11:56:58 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-09-23 11:56:58 +0000 |
commit | a52d0e4a0c941cbe4cb302b5f1634b0b8231d458 (patch) | |
tree | 3e508f9ea139577d5994da97345880c6839d0c0c /usr.sbin/apmd/apmsubr.c | |
parent | 1ea57800e0e76824bbf3417e890c7cab3285ff6c (diff) |
The relayd regression tests for chunked HTTP traffic were failing
sporadically. If the \r and \n were read in separate chunks, relayd
got out of sync with the protocol as they were interpreted as two
lines. Use evbuffer_readln() with EVBUFFER_EOL_CRLF instead of
evbuffer_readline().
OK benno@
Diffstat (limited to 'usr.sbin/apmd/apmsubr.c')
0 files changed, 0 insertions, 0 deletions