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
2009-08-11 13:13:23 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc832d72e9fbb9ccead52a66101632b14add0c50
cc832d72
1 parent
f7c5ca7a
Fix compressed bodies screw up
Fix find and replace screw up
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.m
View file @
cc832d7
...
...
@@ -539,7 +539,6 @@ static NSLock *sessionCookiesLock = nil;
}
else
if
([
self
postBody
])
{
[
self
setPostBodyReadStream
:[
ASIInputStream
inputStreamWithData
:[
self
postBody
]]];
}
[
self
setPostBodyReadStream
:[
ASIInputStream
inputStreamWithData
:[
self
compressedPostBody
]]];
readStream
=
CFReadStreamCreateForStreamedHTTPRequest
(
kCFAllocatorDefault
,
request
,(
CFReadStreamRef
)[
self
postBodyReadStream
]);
}
else
{
...
...
@@ -2426,7 +2425,7 @@ static NSLock *sessionCookiesLock = nil;
}
#if TARGET_OS_IPHONE
+
(
void
)
set
isBandwidthThrottled
ForWWAN
:
(
BOOL
)
throttle
+
(
void
)
set
ShouldThrottleBandwidth
ForWWAN
:
(
BOOL
)
throttle
{
if
(
throttle
)
{
[
ASIHTTPRequest
throttleBandwidthForWWANUsingLimit
:
ASIWWANBandwidthThrottleAmount
];
...
...
Please
register
or
login
to post a comment