refactor(http2): re-enable http2 client and server support
This commit is contained in:
@@ -64,18 +64,14 @@ fn http1_parallel_x10_req_10mb(b: &mut test::Bencher) {
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn http2_get(b: &mut test::Bencher) {
|
||||
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||
opts()
|
||||
.http2()
|
||||
.bench(b)
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn http2_post(b: &mut test::Bencher) {
|
||||
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||
opts()
|
||||
.http2()
|
||||
.method(Method::POST)
|
||||
@@ -84,9 +80,7 @@ fn http2_post(b: &mut test::Bencher) {
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn http2_req_100kb(b: &mut test::Bencher) {
|
||||
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||
let body = &[b'x'; 1024 * 100];
|
||||
opts()
|
||||
.http2()
|
||||
@@ -96,9 +90,7 @@ fn http2_req_100kb(b: &mut test::Bencher) {
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn http2_parallel_x10_empty(b: &mut test::Bencher) {
|
||||
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||
opts()
|
||||
.http2()
|
||||
.parallel(10)
|
||||
@@ -106,9 +98,7 @@ fn http2_parallel_x10_empty(b: &mut test::Bencher) {
|
||||
}
|
||||
|
||||
#[bench]
|
||||
#[ignore]
|
||||
fn http2_parallel_x10_req_10mb(b: &mut test::Bencher) {
|
||||
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||
let body = &[b'x'; 1024 * 1024 * 10];
|
||||
opts()
|
||||
.http2()
|
||||
|
||||
Reference in New Issue
Block a user