This task addresses the security risk that was identified, see comment from @Mstyles
Task description;
- To address the DoS risk, when loading the body content while fetching a URL source we should open it as a stream and load it in chunks so that we can abort downloading when the size limit is reached.
- WIP: https://gerrit.wikimedia.org/r/c/mediawiki/services/citoid/+/1305893