Amar Takhar created an issue: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/37



## Summary

<!--Please provide as much information as possible such as error messages or 
attaching logs-->

@chris discovered that `http.client.IncompleteRead` is not handled correctly 
during his flight.

The fix is to take whatever data has been read and request a range, looping 
until you have all the data in the request.  When we drop Python 2.7 support I 
will fix this as part of some later work documenting it here in case anyone 
else wants to fix it before then see:

* 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/blob/88afb1daa87355afa14f4c142a99355e550540db/source-builder/sb/download.py#L432

## Steps to reproduce

Download from an airplane.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/37
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to