Make the Metacube block size warning a bit less aggressive, as WebM seems to generate...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 14 Aug 2013 23:02:06 +0000 (01:02 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 14 Aug 2013 23:02:06 +0000 (01:02 +0200)
httpinput.cpp

index 0d94913..3bee5d6 100644 (file)
@@ -458,7 +458,7 @@ void HTTPInput::process_data(char *ptr, size_t bytes)
                uint32_t size = ntohl(hdr->size);
                uint32_t flags = ntohl(hdr->flags);
 
-               if (size > 65535) {
+               if (size > 262144) {
                        log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?",
                                url.c_str(), size, flags);
                }