mirror of
https://review.haiku-os.org/haiku
synced 2025-01-23 23:04:48 +01:00
2ec188b903
* The use of a static variable for storing the chunk size made it shared between all instances of BUrlProtoclHttp. * Inline the function at the single place where it is used, and allocate the variable on the stack instead. The whole receiving loop should be split into chunked and non-chunked variants to improve code readability.