Tracking issue: http library testing #949

Open
opened 2025-08-03 12:06:02 +00:00 by jade · 1 comment
Owner

We've had enough problems where the http library is (rightfully) complex since it is solving a hard problem and it's run into bugs where we don't have comprehensive tests for its more obscure functionality. See, e.g. #920, #662, etc. Some of these are curl bugs, some of these are not curl bugs.

We can write a fault-injecting test fixture that should make it much easier to get a high degree of assurance for changes to the curl code.

@helle and I are making concrete plans on how to achieve this.

We've had enough problems where the http library is (rightfully) complex since it is solving a hard problem and it's run into bugs where we don't have comprehensive tests for its more obscure functionality. See, e.g. https://git.lix.systems/lix-project/lix/issues/920, https://git.lix.systems/lix-project/lix/issues/662, etc. Some of these are curl bugs, some of these are not curl bugs. We can write a fault-injecting test fixture that should make it much easier to get a high degree of assurance for changes to the curl code. @helle and I are making concrete plans on how to achieve this.
jade added this to the HTTP testing project 2025-08-03 12:07:18 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/3872 ("functional2/http_server: add some example misbehaviour routes")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/3872", "number": 3872, "kind": "commit message"}], "cl_meta": {"3872": {"change_title": "functional2/http_server: add some example misbehaviour routes"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/3872](https://gerrit.lix.systems/c/lix/+/3872) ("functional2/http_server: add some example misbehaviour routes")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#949
No description provided.