Files
clio/tests/unit
Sergey Kuznetsov 14645e1494 fix: Proxy support (#3103)
Port of two changes onto release/2.7.1:
- #3006 (d3381a1d): resolve proxy ip before processing any request
- #3043 (d7bcf6e7): re-resolve client ip when a proxy reuses a TCP
connection for different clients (resolveClientIp now returns
std::optional; extractClientIp made public; isProxyConnection_ tracked)
2026-06-09 16:25:02 +01:00
..
2026-06-05 17:48:07 +01:00
2026-06-05 17:48:07 +01:00
2026-06-05 17:48:07 +01:00
2026-06-05 17:48:07 +01:00
2026-06-05 17:48:07 +01:00
2026-06-05 17:48:07 +01:00
2025-01-02 11:39:31 +00:00
2026-06-05 17:48:07 +01:00
2026-06-09 16:25:02 +01:00
2024-06-27 18:21:30 +01:00

Unit testing

The correctness of new implementations can be verified via running unit tests. Below are the information on how to run unit tests.

Running

To run the unit tests, first build Clio as normal, then execute ./clio_tests to run all unit tests.

Adding Unit Tests

To add unit tests, please create a separate file for the component you are trying to cover (unless it already exists) and use any other existing unit test file as an example.