You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
a very easy sample, only send the same 10 requests on a tcp session. Crash stack:
memcpy$VARIANT$Swift + 524, queue = 'com.apple.CFURLCACHE_work_queue, stop reason = EXC_BAD_ACCESS (code=1, address=0x78c1310) frame #0: 0x3a4e3212 libsystem_c.dylib
memcpy$VARIANT$Swift + 524frame Server Push #1: 0x322dc57c CoreFoundation
CFDataReplaceBytes + 564 frame #2: 0x322e9dba CoreFoundation
CFDataAppendBytes + 86frame Fat Framework - no 64-bit sim support / not a real OS X framework #3: 0x3203a678 CFNetwork
CopyAllDataFromDataArray(__CFArray const*) + 108 frame #4: 0x3203abee CFNetwork
__CFURLCache::ExecuteSQLInsert(CFCachedURLResponse const, _CFString const, CFURLRequest const) + 374frame Fix Typo #5: 0x32038ec6 CFNetwork
__CFURLCache::AddCachedResponseForRequest(__CFURLCacheNode_, _CFCachedURLResponse const_, _CFURLRequest const_) + 62 frame #6: 0x32038d1c CFNetwork
__CFURLCache::ProcessCacheTasks0(bool) + 144frame Feature/xctest #7: 0x32038c80 CFNetwork
__CFURLCache::ProcessCacheTasks(bool) + 36 frame #8: 0x32038b54 CFNetwork
__CFURLCache::_CFURLCacheTimerCallback0() + 284frame ssl connection can instead be configured? #9: 0x32038a2c CFNetwork
__CFURLCache::_CFURLCacheTimerCallback(void*) + 32 frame #10: 0x3a4a148e libdispatch.dylib
_dispatch_source_invoke + 258frame 2g cut to the wifi, the network seems to still use 2g, very slow #11: 0x3a4a3afc libdispatch.dylib
_dispatch_queue_drain + 80 frame #12: 0x3a4a167c libdispatch.dylib
_dispatch_queue_invoke + 44frame Consolidate client didLoadData callbacks. #13: 0x3a4a4612 libdispatch.dylib
_dispatch_root_queue_drain + 210 frame #14: 0x3a4a47d8 libdispatch.dylib
_dispatch_worker_thread2 + 92frame NSURLConnection crash #15: 0x3a4c87f0 libsystem_c.dylib`_pthread_wqthread + 360
ViewController.m is very sample.
(void)viewDidLoad
{
[super viewDidLoad];
NSLog(@"regsiter --- ---");
//NSString *reginfo = [NSString stringWithFormat: @"http://%@:%d", @"192.168.1.2", 80];
//[SPDYURLConnectionProtocol registerOrigin: reginfo];
NSString *reginfo = [NSString stringWithFormat: @"http://%@:%d", @"192.168.1.3", 80];
[SPDYURLConnectionProtocol registerOrigin: reginfo];
NSString *url = [NSString stringWithFormat:@"http://192.168.1.2:80/tps/i1/T1H4e7Fn8gXXaGwNsc-640-1096.jpg"];
for(int i=0; i<10; i++) {
SpdyClient * client = [[SpdyClient alloc] init];
client.request = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:url]];
}
// Do any additional setup after loading the view, typically from a nib.
}
The text was updated successfully, but these errors were encountered: