Mattt Thompson
c413b141b6
[Issue #1241 ] Fixing potential race condition in cancelConnection
2013-09-24 12:15:38 -07:00
Mattt Thompson
9c23a1955c
Revert "When AFNetworking is in an embedded framework, load certificates from all non-framework bundles"
...
This reverts commit ad0d0cd46e .
2013-08-21 13:35:18 -07:00
Paul Melnikow
ad0d0cd46e
When AFNetworking is in an embedded framework, load certificates from all non-framework bundles
2013-08-12 03:11:17 -04:00
Paul Melnikow
6b2515d8c0
When AFNetworking is in an embedded framework, load certificates from app bundle
2013-08-12 00:22:02 -04:00
Carson McDonald
ef44858189
Set error when cancel happens before start finishes
2013-07-25 11:35:50 -04:00
Mattt Thompson
0c38a6ca2d
Fixing static analyzer warnings about CFRelease calls to NULL pointer
2013-07-17 10:20:48 -07:00
Mattt Thompson
bcf35c2354
Moving __unused signifier into parameter type
2013-07-17 10:19:46 -07:00
Mattt Thompson
0fd49b9964
[Issue #1099 ] Removing if statements before CFRelease calls
2013-07-17 10:19:23 -07:00
Mattt Thompson
251ce98caa
Merge pull request #1099 from lixar/safety-checks
...
Added safety checks for OSStatus value returned by SecXXX functions
2013-07-17 10:16:27 -07:00
Dustin Barker
4a969694c5
Remove all _AFNETWORKING_PIN_SSL_CERTIFICATES_ conditions
...
Fixes #1098
2013-06-27 22:47:45 -07:00
Sylvain Guillope
b60848af94
Added return status checks when handling connection's authentication challenge
2013-06-28 00:33:02 -04:00
Sylvain Guillope
02abb706d3
Added return status checks when building list of pinned public keys
2013-06-27 10:50:20 -04:00
Mattt Thompson
c75b9f46c3
Adding Mach port to keep runloop alive
2013-06-19 08:44:36 -07:00
Mattt Thompson
0ae4872df8
Removing what appears to have been unnecessary ceremony and incantations for keeping the network thread runloop running.
2013-06-18 20:36:41 -07:00
Kyle Fuller
babd06c1f8
Don't let AFURLConnectionOperation accept a nil request
...
Closes #1064
2013-06-14 17:36:01 +01:00
Oliver Letterer
f1cfb96ad7
Fixes AFSSLPinningModePublicKey on OS X.
2013-06-01 19:28:40 +02:00
Oliver Letterer
41d228f3a7
Properly implementing connection:willSendRequestForAuthenticationChallenge:.
2013-05-31 21:06:06 +02:00
Mattt Thompson
efb36aaa99
Fixing potential deadlock in AFURLConnectionOpeation -setOutputStream: /thanks @aburgel
2013-05-20 10:49:44 -07:00
fumoboy007
5081868121
[Issue #906 ] Lazily-initializing outputStream property for AFURLConnectionOperation
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-19 12:52:58 -07:00
xjdrew
6f6c888055
[Issue #942 ] [Issue #943 ] Don't attempt to use URL-encoded credentials in connection:didReceiveAuthenticationChallenge:, since any included credentials would have to be invalid to have an authentication challenge be issued
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:23:25 -07:00
Josh Vera
3e5426d54b
[Issue #963 ] Perform default handling for NSURLAuthenticationMethodDefault authentication challenges
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:18:57 -07:00
Mattt Thompson
fa0c8b8ddc
Refactoring failure case for connection:needNewBodyStream:
2013-05-08 10:17:03 -07:00
Mattt Thompson
38c49e1532
Merge pull request #972 from aburgel/needNewBodyStream_cancel
...
Register error if new bodyStream cannot be created
2013-05-08 10:10:55 -07:00
Jeff Hunter
a42953f62e
explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
2013-05-07 13:53:49 -07:00
Alex Burgel
ac9563e373
Register error if new bodyStream cannot be created
2013-05-06 13:18:34 -04:00
Mattt Thompson
b838dd85c1
Minor reformatting
2013-04-17 18:39:50 +02:00
Mattt Thompson
9cbc749d40
Renaming allowInvalidSSLCertificate -> allowsInvalidSSLCertificate
2013-04-17 18:38:44 +02:00
Mattt Thompson
174bc47c84
Minor refactoring / renaming / copy edits
2013-04-17 18:28:08 +02:00
Mattt Thompson
8ea42866b8
Merge branch 'invalid-ssl' of git://github.com/kcharwood/AFNetworking into kcharwood-invalid-ssl
2013-04-17 18:04:50 +02:00
Jean-Francois Morin
472ba1c66a
Replace NSData by NSUInteger in connection:didReceiveData:
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-04-16 11:00:26 +03:00
Kevin Harwood
22d6747b74
Merge branch 'master' into invalid-ssl
2013-04-09 08:48:56 -05:00
Kevin Harwood
fa9fa6e0d4
Fixed if/else logic
2013-04-09 08:47:26 -05:00
Kevin Harwood
e6807f4176
Merge branch 'master' into invalid-ssl
2013-04-08 09:52:42 -05:00
Oliver Letterer
ae6b3bb368
Now using NSParameterAssert instead of NSCParameterAssert.
2013-04-08 14:04:43 +02:00
Oliver Letterer
ecbe8166cd
Now using errSecSuccess instead of noErr for Security frameworks OSStatus.
2013-04-08 14:04:08 +02:00
Oliver Letterer
f51a762772
Merges master.
2013-04-07 18:26:16 +02:00
Kevin Harwood
e016c731d3
Merged upstream/master back to resolve conflicts
2013-04-07 08:15:07 -05:00
Oliver Letterer
8b2d01a503
Fixes SecTrustCreateWithCertificates expecting an array as first argument.
2013-04-07 08:29:29 +02:00
Kevin Harwood
1d1378d9aa
Merge remote-tracking branch 'upstream/master' into invalid-ssl
...
Conflicts:
AFNetworking/AFURLConnectionOperation.h
2013-04-06 16:31:28 -05:00
Kevin Harwood
158db930ff
Revert "Added guard around adding a NULL object to an array"
...
This reverts commit c8e420990e .
2013-04-06 15:46:50 -05:00
Kevin Harwood
c8e420990e
Added guard around adding a NULL object to an array
2013-04-06 15:02:57 -05:00
Kevin Harwood
5b633898b3
Clean up
2013-04-06 11:33:29 -05:00
Kevin Harwood
ebccca44da
Fixed SSL Pinning
...
- SSL Pinning switch case was not being applied if a .cer file was found in the bundle.
- SSL Public Key pinning was broken because we didn't make a call to SecTrustEvaluate before SecTrustCopyPublicKey
2013-04-06 11:30:47 -05:00
Peter Steinberger
bab6a8b28f
Set AFNetworking thread name
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-04-06 12:42:01 +02:00
Oliver Letterer
a0f1f83a2b
Pinning certificates will now trust all derived certificates.
2013-03-28 08:34:44 +01:00
Kevin Harwood
48558d7b48
Removed invalid SSL macro from new 1.2.0 code
2013-03-25 17:15:43 -05:00
Kevin Harwood
bcb8aea682
Merge branch 'master' into invalid-ssl
2013-03-25 17:11:42 -05:00
Mattt Thompson
9b2a20c0a1
Merge branch 'experimental-ssl-pinning'
2013-03-24 00:57:16 -04:00
Oliver Letterer
1bfed80989
Adds AFSSLPinningModeNone.
2013-03-24 00:51:16 -04:00
Blake Watters
db305db733
Rework delivery of AFNetworkingOperationDidStartNotification and AFNetworkingOperationDidFinishNotification to avoid crashes when logging in response to notifications
2013-03-06 21:40:56 -05:00