summaryrefslogtreecommitdiff
path: root/ext/http/request_properties.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/request_properties.rs')
-rw-r--r--ext/http/request_properties.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/http/request_properties.rs b/ext/http/request_properties.rs
index 02ef13871..1422c7417 100644
--- a/ext/http/request_properties.rs
+++ b/ext/http/request_properties.rs
@@ -119,7 +119,11 @@ impl HttpPropertyExtractor for DefaultHttpPropertyExtractor {
async fn accept_connection_from_listener(
listener: &NetworkStreamListener,
) -> Result<NetworkStream, AnyError> {
- listener.accept().await.map_err(Into::into)
+ listener
+ .accept()
+ .await
+ .map_err(Into::into)
+ .map(|(stm, _)| stm)
}
fn listen_properties_from_listener(