Upgrading to Rust 1.88.0 broke my HTTP client on x86_64-darwin!
In one terminal, run:
nc -l 6789
In another terminal, run:
nix develop --system x86_64-darwin --command cargo run
Observe an invalid request is received by nc:
GET /
host: 127.0.0.1:6789
Edit Cargo.toml to set opt-level = 1 for the dev profile.
In one terminal, run:
nc -l 6789
In another terminal, run:
nix develop --system x86_64-darwin --command cargo run
Observe a valid request is received by nc:
GET / HTTP/1.1
host: 127.0.0.1:6789