Commit Graph

3 Commits

Author SHA1 Message Date
Stephen Heumann
f524630f1a Work around Marinetti bug 57.
This could cause Marinetti to return more data than it should, starting with valid data but then including corrupt data.

The workaround I'm using is to have Marinetti return a new handle and then copy the data out of it, using the size of the handle as the true size of the data that was read. Because of details of how Marinetti works, that size is correct.

This shouldn't have a major performance impact, because Marinetti would internally read data into a new handle and then copy it anyway.
2019-04-19 17:34:18 -05:00
Stephen Heumann
8532c14ee1 Detect errors and timeouts when reading data from server. 2018-08-15 21:05:09 -05:00
Stephen Heumann
ef272cb998 Initial code implementing some of the core functionality for reading blocks over HTTP. 2018-07-29 23:40:03 -05:00