Skip to content

Commit

Permalink
Fix h2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Apr 29, 2024
1 parent c60e7f5 commit 8063fbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ntex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ntex-macros = "0.1.3"
ntex-util = "1.0.1"
ntex-bytes = "0.1.25"
ntex-server = "1.0.5"
ntex-h2 = "0.5.2"
ntex-h2 = "0.5.4"
ntex-rt = "0.4.12"
ntex-io = "1.0.1"
ntex-net = "1.0.1"
Expand Down
4 changes: 4 additions & 0 deletions ntex/src/http/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ where
Connector::default()
.timeout(Millis(30_000))
.openssl(builder.build())
.configure_http2(|cfg| {
cfg.max_header_list_size(256 * 1024);
cfg.max_header_continuation_frames(96);
})
.finish()
}
#[cfg(not(feature = "openssl"))]
Expand Down

0 comments on commit 8063fbc

Please sign in to comment.