Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed May 17, 2024
1 parent 7d453ab commit 3fb4854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ async fn get(store: Store, req: Request<hyper::body::Incoming>) -> HTTPResult {

Routes::CasGet(hash) => {
let reader = store.cas_reader(hash).await?;
// convert reader from async-std -> tokio
let reader = reader.compat();
let stream = ReaderStream::new(reader);

Expand Down

0 comments on commit 3fb4854

Please sign in to comment.