http-rs / http-rs/surf

http_client: change `AsyncRead` bound to `AsyncBufRead`

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
1.5k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

As per @fairingrey's suggestion, we should probably follow up on https://github.com/rustasync/http-service/issues/31 and use [`AsyncBufRead`](https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncBufRead.html) to prevent double buffering.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.