// If we have a request body, we'll stream it from memory using our custom stream, so that we can measure bandwidth use and it can be bandwidth-throttled if nescessary
// We'll split our bandwidth allowance into 4 (which is the default for an ASINetworkQueue's max concurrent operations count) to give all running requests a fighting chance of reading data this cycle
// We'll split our bandwidth allowance into 4 (which is the default for an ASINetworkQueue's max concurrent operations count) to give all running requests a fighting chance of reading data this cycle
// When set to 1 ASIHTTPRequests will print information about what a request is doing
#define DEBUG_REQUEST_STATUS 0
// When set to 1, ASIFormDataRequests will print information about the request body to the console
#define DEBUG_FORM_DATA_REQUEST 0
// When set to 1, ASIHTTPRequests will print information about bandwidth throttling to the console
#define DEBUG_THROTTLING 0
// ======
// Reachability API (iPhone only)
// ======
/*
Turn off any features you don't need for a speed boost
*/
/*
ASIHTTPRequest uses Apple's Reachability class (http://developer.apple.com/iphone/library/samplecode/Reachability/) to turn bandwidth throttling on and off automatically when shouldThrottleBandwidthForWWAN is set to YES on iPhone OS
...
...
@@ -25,16 +46,3 @@ This config option is not used for apps targeting Mac OS X
#define REACHABILITY_20_API 0
/*
Debug output configuration options
*/
// When set to 1 ASIHTTPRequests will print information about what a request is doing
#define DEBUG_REQUEST_STATUS 0
// When set to 1, ASIFormDataRequests will print information about the request body to the console
#define DEBUG_FORM_DATA_REQUEST 0
// When set to 1, ASIHTTPRequests will print information about bandwidth throttling to the console