]> git.kaiwu.me - haproxy.git/commit
REGTEST: spoe: add large-frame tests for the applet and the mux
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Nov 2026 07:55:51 +0000 (08:55 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Nov 2026 13:23:52 +0000 (14:23 +0100)
commitd4e3269b00d3feddf240d269594184fecb532423
tree9cfb5578e25de8cb1cc72b213c251a50f01c7aa7
parentdd6e14eabc37e05e7c820b8fd9304a34a3e2dd03
REGTEST: spoe: add large-frame tests for the applet and the mux

Two tests exercising a near-max-size SPOP frame (a 14000-byte
binary argument) through the SPOE applet and the SPOP mux:

- largeframe.vtc, on-frontend-tcp-request event carrying
  req.payload(0,14000) sampled from a buffered 30KB request;

- groupframe.vtc, http-request send-spoe-group carrying req.body,
  the rule yielding until the request is complete so args are
  encoded from the fully buffered body.

Both rely on a protocol-correct python agent (spoa_largeframe.py),
mirroring encode_varint()/decode_varint() from
include/haproxy/intops.h. largeframe.vtc also uses a small raw
TCP client (lf_client.py) for the 30KB request.
reg-tests/spoe/groupframe.vtc [new file with mode: 0644]
reg-tests/spoe/largeframe.vtc [new file with mode: 0644]
reg-tests/spoe/lf_client.py [new file with mode: 0755]
reg-tests/spoe/spoa_largeframe.py [new file with mode: 0755]