You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When streaming a payload with meilisearch-rust, we have to convert a structure implementing AsyncRead to a structure implementing Stream.
This means I have to call poll_read, which have a &[u8] in parameter.
Currently, to avoid doing anything wrong, I initialize every byte of my buffer to zero here:
When streaming a payload with meilisearch-rust, we have to convert a structure implementing
AsyncRead
to a structure implementingStream
.This means I have to call
poll_read
, which have a&[u8]
in parameter.Currently, to avoid doing anything wrong, I initialize every byte of my buffer to zero here:
meilisearch-rust/src/reqwest.rs
Line 159 in 437649f
But ideally, this shouldn’t be necessary since we’re never reading these bytes before writing to it.
The text was updated successfully, but these errors were encountered: