tomaka / rouille

Web framework in Rust
Apache License 2.0
1.09k stars 105 forks source link

Tests failing on ios #264

Closed DeWarner closed 1 year ago

DeWarner commented 1 year ago

running tests on ios produced this failure, running in a docker container did not error

thread 'content_encoding::tests::gzip_encoding' panicked at 'assertion failed: `(left == right)`
  left: `[31, 139, 8, 0, 0, 0, 0, 0, 0, 19, 179, 201, 40, 201, 205, 177, 179, 201, 72, 77, 76, 177, 179, 41, 201, 44, 201, 73, 181, 243, 72, 205, 201, 201, 87, 40, 207, 47, 202, 73, 177, 209, 135, 8, 217, 36, 229, 167, 84, 218, 217, 20, 160, 202, 21, 216, 217, 232, 67, 36, 244, 193, 166, 0, 0, 202, 239, 44, 120, 76, 0, 0, 0]`,
 right: `[31, 139, 8, 0, 0, 0, 0, 0, 0, 3, 179, 201, 40, 201, 205, 177, 179, 201, 72, 77, 76, 177, 179, 41, 201, 44, 201, 73, 181, 243, 72, 205, 201, 201, 87, 40, 207, 47, 202, 73, 177, 209, 135, 8, 217, 36, 229, 167, 84, 218, 217, 20, 160, 202, 21, 216, 217, 232, 67, 36, 244, 193, 166, 0, 0, 202, 239, 44, 120, 76, 0, 0, 0]`', src/content_encoding.rs:312:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Investigation needed Priority: Low

bradfier commented 1 year ago

Fixed in https://github.com/tomaka/rouille/commit/820ffb96b1a7ce6ab8412649e976b9dae703267a