Skip to content

Commit

Permalink
chore: ssl feature needs higher memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
kolbma committed Jan 15, 2024
1 parent c879338 commit bdf9dfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/util-equal-reader-rlimit-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ mod support;
fn test_equal_reader_drop_rlimit() {
// this limits need to be fiddled out, because test runs need a lot more memory than the productive server
rlimit::Resource::AS
.set(90_000_000, 90_000_000)
.expect("ulimit -v 90_000_000 failed");
.set(100_000_000, 100_000_000)
.expect("ulimit -v 100_000_000 failed");

let (server, client) = support::new_one_server_one_client();

{
let mut client = client;
(write!(client, "GET / HTTP/1.1\r\nHost: localhost\r\nContent-Type: text/plain; charset=utf8\r\nContent-Length: 104857600\r\n\r\nhello")).unwrap();
(write!(client, "GET / HTTP/1.1\r\nHost: localhost\r\nContent-Type: text/plain; charset=utf8\r\nContent-Length: 204857600\r\n\r\nhello")).unwrap();
}

let mut request = server.recv().unwrap();
Expand Down

1 comment on commit bdf9dfb

@kolbma
Copy link
Owner Author

@kolbma kolbma commented on bdf9dfb Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also relevant for tiny-http#252

Please sign in to comment.