berkshelf/ridley

Streaming Downloads read the entire contents into memory

Opened this issue · 1 comments

Noticed this while working on some similar code for a different library.

The line linked here - https://github.com/RiotGames/ridley/blob/master/lib/ridley/connection.rb#L146 - will read the entire contents into memory.

probably still an issue here:

body = remote.read