stanislaw / afnetworkinglogger Goto Github PK
View Code? Open in Web Editor NEWAFNetworking logger - plugin providing network logging for iOS applications
License: MIT License
AFNetworking logger - plugin providing network logging for iOS applications
License: MIT License
Critical lines:
if (0 < HTTPBodyDataSize && HTTPBodyDataSize <= (1024 * 100)) {
requestBodyString = [requestBodyString stringByAppendingString:[[NSString alloc] initWithData:HTTPBodyData encoding:NSUTF8StringEncoding]];
}
else if (HTTPBodyDataSize <= (1024 * 100)) {
requestBodyString = [requestBodyString stringByAppendingString:@"Request body data is too large to be displayed..."];
}
I have the following crash in Fabric, does not mean much to me ..
Crashed: com.apple.main-thread
SIGABRT ABORT 0x0000000193d57270
raw
0 libsystem_kernel.dylib
__pthread_kill + 8
1
libsystem_pthread.dylib
pthread_kill + 112
2
libsystem_c.dylib
abort + 112
3
libsystem_malloc.dylib
purgeable_ptr_in_use_enumerator + 406
4
libsystem_malloc.dylib
free_tiny_botch + 84
5
CFNetwork
HTTPMessage::ensureParserFinished() + 108
6
CFNetwork
HTTPMessage::copyAllHeaderFields(__CFArray const**) + 28
7 CFNetwork
-[NSHTTPURLResponse allHeaderFields] + 48
8
AFNetworkActivityLogger.m line 153
-[AFNetworkActivityLogger networkRequestDidFinish:]
9 CoreFoundation
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
11 Foundation
-[NSNotificationCenter postNotificationName:object:userInfo:] + 72
12
AFURLConnectionOperation.m line 486
__34-[AFURLConnectionOperation finish]_block_invoke
13 libdispatch.dylib
_dispatch_call_block_and_release + 24
20 UIKit
UIApplicationMain + 1488
21
main.m line 14
main
22
libdyld.dylib
start + 4
Looks line all calls -dataFromPropertyList:format:errorDescritpion in AFNetworkingLogGenerator needs to be updated with -dataWithPropertyList:format:options:error: for iOS 8.x support
Warning description:
'dataFromPropertyList:format:errorDescription:' is deprecated: first deprecated in iOS 8.0 - Use dataWithPropertyList:format:options:error: instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.