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-03-21 10:07:10 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
788b7e6a01cff74b0a00e53fe0a4a383219e4bf3
788b7e6a
1 parent
00431b00
GHUnit as direct dependency for Mac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
Classes/ASIHTTPRequest.m
Mac.xcodeproj/project.pbxproj
Classes/ASIHTTPRequest.m
View file @
788b7e6
...
...
@@ -23,7 +23,7 @@
// Automatically set on build
NSString
*
ASIHTTPRequestVersion
=
@"v1.6-1
6 2010-03-19
"
;
NSString
*
ASIHTTPRequestVersion
=
@"v1.6-1
7 2010-03-21
"
;
NSString
*
const
NetworkRequestErrorDomain
=
@"ASIHTTPRequestErrorDomain"
;
...
...
@@ -2693,7 +2693,8 @@ static BOOL isiPhoneOS2;
// This may occur when we've attempted to reuse a connection that should have been closed
// If we get this, we need to retry the request
// We'll only do this once - if it happens again on retry, we'll give up
if
(([[
underlyingError
domain
]
isEqualToString
:
NSPOSIXErrorDomain
]
&&
[
underlyingError
code
]
==
ENOTCONN
)
||
([[
underlyingError
domain
]
isEqualToString
:(
NSString
*
)
kCFErrorDomainCFNetwork
]
&&
[
underlyingError
code
]
==
kCFURLErrorNetworkConnectionLost
))
{
// -1005 = kCFURLErrorNetworkConnectionLost - this doesn't seem to be declared on Mac OS 10.5
if
(([[
underlyingError
domain
]
isEqualToString
:
NSPOSIXErrorDomain
]
&&
[
underlyingError
code
]
==
ENOTCONN
)
||
([[
underlyingError
domain
]
isEqualToString
:(
NSString
*
)
kCFErrorDomainCFNetwork
]
&&
[
underlyingError
code
]
==
-
1005
))
{
if
([
self
retryUsingNewConnection
])
{
return
;
}
...
...
Mac.xcodeproj/project.pbxproj
View file @
788b7e6
This diff was suppressed by a .gitattributes entry.
Please
register
or
login
to post a comment