Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2010-01-29 19:04:46 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f3da442220149572e7a8d8460793654be401824b
f3da4422
1 parent
74ff7671
Fix 10.5 builds (Thanks to Dave Verwer for catching this!)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.m
View file @
f3da442
...
...
@@ -21,7 +21,7 @@
#import "ASIInputStream.h"
// Automatically set on build
NSString
*
ASIHTTPRequestVersion
=
@"v1.5-3
7
2010-01-29"
;
NSString
*
ASIHTTPRequestVersion
=
@"v1.5-3
8
2010-01-29"
;
NSString
*
const
NetworkRequestErrorDomain
=
@"ASIHTTPRequestErrorDomain"
;
...
...
@@ -3459,7 +3459,7 @@ static BOOL isiPhoneOS2;
// Yes, put this request to sleep until a second is up, with extra added punishment sleeping time for being very naughty (we have used more bandwidth than we were allowed)
double
extraSleepyTime
=
(
-
bytesRemaining
/
(
maxBandwidthPerSecond
*
1
.
0
));
[
throttleWakeUpTime
release
];
#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE
|| !defined(MAC_OS_X_VERSION_10_6) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
throttleWakeUpTime
=
[[
bandwidthMeasurementDate
addTimeInterval
:
extraSleepyTime
]
retain
];
#else
throttleWakeUpTime
=
[[
bandwidthMeasurementDate
dateByAddingTimeInterval
:
extraSleepyTime
]
retain
];
...
...
Please
register
or
login
to post a comment