Browse Source

Update juce

tags/2018-04-16
falkTX 10 years ago
parent
commit
cf6e550052
2 changed files with 398 additions and 618 deletions
  1. +393
    -617
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp
  2. +5
    -1
      libs/juce/source/modules/juce_core/native/juce_linux_Network.cpp

+ 393
- 617
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp
File diff suppressed because it is too large
View File


+ 5
- 1
libs/juce/source/modules/juce_core/native/juce_linux_Network.cpp View File

@@ -343,9 +343,13 @@ private:
}
static void writeHost (MemoryOutputStream& dest, const bool isPost,
const String& path, const String& host, int /*port*/)
const String& path, const String& host, int port)
{
dest << (isPost ? "POST " : "GET ") << path << " HTTP/1.0\r\nHost: " << host;
/* HTTP spec 14.23 says that the port number must be included in the header if it is not 80 */
if (port != 80)
dest << ':' << port;
}
static MemoryBlock createRequestHeader (const String& hostName, const int hostPort,


Loading…
Cancel
Save