juce-framework / JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
https://juce.com
Other
6.31k stars 1.67k forks source link

Changed how HTTP headers are ended on Linux #1352

Open maxwalley opened 4 months ago

maxwalley commented 4 months ago

This is fixing the error reported at https://forum.juce.com/t/url-header-suffix-on-linux/59985/2

Essentially the HTTP header section should end with "/r/n/r/n". The previous code was not taking into account that there might already be some of the suffix present before applying it.