Force CRYPTO Rx buffer to be unaligned when running under stress. Most
of the time, this will cause a connection error with
CRYPTO_BUFFER_EXCEEDED as CRYPTO wrapping is not yet implemented.
#include <haproxy/quic_rx.h>
#include <haproxy/quic_tune.h>
#include <haproxy/mux_quic.h>
+#include <haproxy/stress.h>
#include <openssl/rand.h>
return NULL;
*ncbuf = ncbmb_make(buf.area, buf.size, 0);
- ncbmb_init(ncbuf, 0);
+ STRESS_RUN5(ncbmb_init(ncbuf, ncbmb_size(ncbuf) - 256),
+ ncbmb_init(ncbuf, 0));
return ncbuf;
}