feat(net): add HTTP/1.1 client library with comprehensive test suite #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes
HTTP Client Library (
libs/libbreenix/src/http.rs)libbreenix::dnsTest Suite (
userspace/tests/http_test.rs)Boot Stages (
xtask/src/main.rs)Added 8 HTTP-related boot stages for automated verification.
Build Warning Fixes
#[allow(dead_code)]for legitimate HAL API elements (x86_64 architecture implementation)tcp_socket_test.rsTest plan
🤖 Generated with Claude Code
Note
Adds a minimal HTTP/1.1 client and wires it into userspace tests and CI.
libs/libbreenix/src/http.rs: HTTP GET over TCP with URL parsing, DNS resolution, request building, and response parsing; exposeshttp_get_with_buf,http_get_status,http_pinguserspace/tests/http_test.rsvalidating URL parsing, HTTPS rejection, DNS error handling, and a network fetch (SKIP on no network)xtask/src/main.rsgains 8 HTTP boot stages; kernel launcheshttp_testin testing mode; userspace build addshttp_testtarget and build-scriptrerun-if-changedNetConfigdoc/allow; TCP structs/enums marked for API completeness; remove unusedtcp_is_connected; add#[allow(dead_code)]across HAL/x86_64 and time TSC for API completeness and to silence warningsreturn_value()accessor on the concreteSyscallFramestruct; trait-based access remainskernel/build.rstrackshttp_test.rsfor rebuildsWritten by Cursor Bugbot for commit fe84b98. This will update automatically on new commits. Configure here.