Skip to content

Commit

Permalink
0.5.1 buffer 5kb
Browse files Browse the repository at this point in the history
  • Loading branch information
German committed Aug 23, 2024
1 parent c98a5e2 commit d392626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ehttp/src/streaming/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub fn fetch_streaming_blocking(

let mut reader = resp.into_reader();
loop {
let mut buf = vec![0; 1048576];
let mut buf = vec![0; 5120];
match reader.read(&mut buf) {
Ok(n) if n > 0 => {
// clone data from buffer and clear it
Expand Down

0 comments on commit d392626

Please sign in to comment.