diff --git a/Cargo.lock b/Cargo.lock
index 3b4e280e..3a0fe9bb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -348,7 +348,6 @@ dependencies = [
name = "base-http-protocol"
version = "0.4.0"
dependencies = [
- "base-endpoint",
"base-http1",
]
diff --git a/benchmarks/client/Cargo.lock b/benchmarks/client/Cargo.lock
index 1153f11f..0bda09d5 100644
--- a/benchmarks/client/Cargo.lock
+++ b/benchmarks/client/Cargo.lock
@@ -186,7 +186,6 @@ dependencies = [
name = "base-http-protocol"
version = "0.4.0"
dependencies = [
- "base-endpoint",
"base-http1",
]
diff --git a/benchmarks/hello/Cargo.lock b/benchmarks/hello/Cargo.lock
index 1e3229f3..bef026a8 100644
--- a/benchmarks/hello/Cargo.lock
+++ b/benchmarks/hello/Cargo.lock
@@ -95,7 +95,6 @@ dependencies = [
name = "base-http-protocol"
version = "0.4.0"
dependencies = [
- "base-endpoint",
"base-http1",
]
diff --git a/benchmarks/hello/src/main.rs b/benchmarks/hello/src/main.rs
index 095f149d..fdfba0f9 100644
--- a/benchmarks/hello/src/main.rs
+++ b/benchmarks/hello/src/main.rs
@@ -86,7 +86,7 @@ where
ready(&listener)?;
let listener = scheduler.register_listener(listener)?;
let cancellation = Cancellation::never();
- let options = base_http1::Options::default();
+ let options = base_http_server::Options::default();
let mut connections = FuturesUnordered::new();
loop {
if connections.len() == MAX_CONNECTIONS {
diff --git a/crates/client/src/connection.rs b/crates/client/src/connection.rs
index 95b3e86d..146795a1 100644
--- a/crates/client/src/connection.rs
+++ b/crates/client/src/connection.rs
@@ -12,6 +12,7 @@ use base_endpoint::{
AddressEndpoint, ConnectEndpoint,
stream::{ReadableStream, WritableStream},
};
+use base_http_protocol::HttpProtocol;
use base_http1::{RequestWriter, ResponseReader};
use base_pool::{Admission, MultiplexBuildPermit, MultiplexResource};
use base_scheduler::{
@@ -26,24 +27,24 @@ use std::sync::{
};
struct Inner<'scope> {
- direct: Mutex