alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1k stars 234 forks source link

abort_read test fails on Debian sid, probablly due to curl #559

Closed plugwash closed 3 days ago

plugwash commented 2 months ago

Recently the abort_read test started failing on our CI in Debian sid. I do not know for sure what triggered this, but the prime suspect is the upgrade from curl 8.5 to curl 8.7 was the trigger for this regression.

I was able to reproduce this with a git checkout from this and the command "cargo test". libcurl4-openssl-dev was installed.

---- abort_read stdout ---- thread '' panicked at 'unexpected header: "" (remaining headers {"\r\n", "PUT / HTTP/1.1\r\n", "Host: 127.0.0.1:33559\r\n", "Content-Length: 2\r\n", "Accept: /\r\n"})', tests/server/mod.rs:70:21 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace thread 'abort_read' panicked at 'res failed with Any { .. }', tests/server/mod.rs:218:13