Closed blackox626 closed 3 months ago
- (NSData *)readDataOfLength:(NSUInteger)length { NSData *data = [self.reader readDataOfLength:length]; KTVHCLogHTTPResponse(@"%p, Read data : %lld", self, (long long)data.length); if (self.reader.isFinished) { KTVHCLogHTTPResponse(@"%p, Read data did finished", self); [self.reader close]; } return data; }
[self.connection responseDidAbort:self]; 加上这个就正常了
[self.connection responseDidAbort:self];
加上你这个就好了,你有给作者提pull request吗?
作者修复了。 2.0版本的时候 是正常的, 3.0 支持 hls 的时候去 可能误删了这句话
[self.connection responseDidAbort:self];
加上这个就正常了