BUG/MINOR: contrib/mod_defender: update pointer on the end of the frame
Similar to commit 94bb4c6
("BUG/MINOR: spoa: Update pointer on the end of
the frame when a reply is encoded").
This patch should be backported to 1.8.
This commit is contained in:
parent
58b8e492a3
commit
f21185f236
|
@ -1345,7 +1345,8 @@ process_frame_cb(evutil_socket_t fd, short events, void *arg)
|
||||||
frame->flags = 0;
|
frame->flags = 0;
|
||||||
|
|
||||||
ret = prepare_agentack(frame);
|
ret = prepare_agentack(frame);
|
||||||
p = frame->buf + ret;
|
p = frame->buf + ret;
|
||||||
|
end = frame->buf+max_frame_size;
|
||||||
|
|
||||||
if (frame->defender_status != -1) {
|
if (frame->defender_status != -1) {
|
||||||
DEBUG(frame->worker, "Add action : set variable status=%u",
|
DEBUG(frame->worker, "Add action : set variable status=%u",
|
||||||
|
|
Loading…
Reference in New Issue