mirror of
https://github.com/rsyslog/rsyslog.git
synced 2026-06-15 23:22:50 +02:00
Why: imhttp tests still preselected HTTP ports before CivetWeb started. Parallel CI can claim those ports in the gap, producing flakes unrelated to HTTP input behavior. Impact: Adds an imhttp module parameter and converts imhttp tests to bind port 0. Before/After: Before, imhttp tests used get_free_port; after, imhttp writes the bound port. Technical Overview: Add listenPortFileName as an imhttp module parameter. After CivetWeb starts, query its listening ports with mg_get_server_ports(). Require a single listener when the port file is requested and write that selected port to the configured file. Convert imhttp shell and YAML tests to configure ports="0" and read the port file before issuing curl requests. Document the new module parameter. With the help of AI-Agents: OpenAI Codex
This directory contains a number of possibly useful things that do not directly relate to rsyslog. They are not actively supported, but as I said often helpful. Use them with some care, as they may be outdated in respect to the current release of rsyslog. At least some of this stuff has been found by our users and been included after a brief check and possibly an adaptation. If you have something useful you would like to see in contrib, just drop us a note (see https://www.rsyslog.com for how to do that at the time your are reading this document). rgerhards, 2007-08-08