#4751 - Chunked transfers that have no HTTP payload will stall

Identifier #4751
Issue type Major issue (breaks an entire feature)
Title Chunked transfers that have no HTTP payload will stall
Status Completed
Handling member Chris Graham
Version 10.0.39
Addon core
Description If an HTTP connection results in a chunked transfer, but that chunked transfer is immediately terminated with no data, the downloader will get stuck in an infinite loop (eventually causing a PHP timeout).

This patch treats all the edge cases for chunked downloading MUCH more carefully, and comments the code better.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated