mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
By passing "S:<string>" instead of S<size> it's possible to send a pre-defined string, which is convenient to write HTTP requests or responses. Example : produce two responses, one in keep-alive, one not for ab : ./tcploop 8001 L W N2 A R S:"HTTP/1.0 200 OK\r\nConnection: keep-alive\r\nContent-length: 50\r\n\r\n0123456789.123456789.123456789.123456789.123456789" R S:"HTTP/1.0 200 OK\r\nContent-length: 50\r\n\r\n0123456789.123456789.123456789.123456789.123456789" With 20 such keep-alive responses and 10 parallel processes, ab achieves 350kreq/s, so it should be possible to get precise timings. |
||
|---|---|---|
| .. | ||
| base64 | ||
| debug | ||
| halog | ||
| ip6range | ||
| iprange | ||
| netsnmp-perl | ||
| selinux | ||
| spoa_example | ||
| systemd | ||
| tcploop | ||
| trace | ||