jpopesculian / twitter-v2-rs

Rust bindings for Twitter API v2
https://docs.rs/twitter-v2/latest
102 stars 28 forks source link

Fix for "connection closed before message completed" error #14

Closed patrick-fitzgerald closed 1 year ago

patrick-fitzgerald commented 1 year ago

I was regularly seeing a "connection closed before message completed" error, when making API requests.

This seems to fix the issue based on:

https://github.com/hyperium/hyper/issues/2136#issuecomment-861826148 & https://github.com/wyyerd/stripe-rs/pull/172

patrick-fitzgerald commented 1 year ago

Closing this PR to avoid using my master branch for the PR