If you have an issue with any of our projects. feel free to register.

Commit 4aca4a9c authored by Christopher Snowhill's avatar Christopher Snowhill

- Increase HTTP buffer size to 256KB

- Support a different older flavor of ShoutCAST server
parent 6c7b7f72
......@@ -14,7 +14,7 @@
#import <stdlib.h>
#import <string.h>
#define BUFFER_SIZE 131072
#define BUFFER_SIZE 262144
@implementation HTTPSource
......@@ -122,7 +122,8 @@ didReceiveResponse:(NSURLResponse *)response
}
}
_mimeType = [response MIMEType];
if ([_mimeType isEqualToString:@"application/octet-stream"])
if ([_mimeType isEqualToString:@"application/octet-stream"] ||
[_mimeType isEqualToString:@"text/plain"])
didReceiveRandomData = YES;
else
didReceiveResponse = YES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment