Stream HTTPRequest responses only of a maximum length is desired
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 1 Feb 2021 10:37:09 +0000 (11:37 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 1 Feb 2021 10:37:09 +0000 (11:37 +0100)
commit1a6fd5ae04eb9b275d1ca4b3f328f5a57d060a2b
treee0ee9504639b59ea22352b460f33338e289e5ed9
parentfd840ed45fe0d22edadf50cbc9c452079d440f5a
Stream HTTPRequest responses only of a maximum length is desired

cURL is not supported for streaming responses. As we process the full response
body for requests without a maximum length there is no benefit to streaming the
response, because we lose cURL support.
wcfsetup/install/files/lib/util/HTTPRequest.class.php