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-04-20 08:24:52 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6df440434a6b5b64c5060b445e4fd9bd2f41e13a
6df44043
1 parent
c351e8a8
Fix GH issue 35 - updating wrong progress delegate in removeUploadProgressSoFar …
…/ incrementDownloadSizeBy
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 @
6df4404
...
...
@@ -1382,7 +1382,7 @@ static BOOL isiPhoneOS2;
-
(
void
)
incrementDownloadSizeBy
:
(
long
long
)
length
{
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
incrementDownloadSizeBy
:
)
onTarget
:
[
self
queue
]
withObject
:
self
amount
:&
length
];
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
incrementDownloadSizeBy
:
)
onTarget
:
[
self
up
loadProgressDelegate
]
withObject
:
self
amount
:&
length
];
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
incrementDownloadSizeBy
:
)
onTarget
:
[
self
down
loadProgressDelegate
]
withObject
:
self
amount
:&
length
];
}
...
...
@@ -1397,7 +1397,7 @@ static BOOL isiPhoneOS2;
{
long
long
progressToRemove
=
-
[
self
totalBytesSent
];
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
didSendBytes
:
)
onTarget
:
[
self
queue
]
withObject
:
self
amount
:&
progressToRemove
];
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
didSendBytes
:
)
onTarget
:
[
self
down
loadProgressDelegate
]
withObject
:
self
amount
:&
progressToRemove
];
[
ASIHTTPRequest
performSelector
:
@selector
(
request
:
didSendBytes
:
)
onTarget
:
[
self
up
loadProgressDelegate
]
withObject
:
self
amount
:&
progressToRemove
];
[
ASIHTTPRequest
updateProgressIndicator
:[
self
uploadProgressDelegate
]
withProgress
:
0
ofTotal
:
[
self
postLength
]];
}
...
...
Please
register
or
login
to post a comment