Merge pull request #1114 from OliverLetterer/copy-http-client
Fixing -[AFHTTPClient copyWithZone:].
This commit is contained in:
commit
0d0f156c2e
1 changed files with 2 additions and 2 deletions
|
|
@ -739,8 +739,8 @@ static void AFNetworkReachabilityReleaseCallback(const void *info) {
|
|||
|
||||
HTTPClient.stringEncoding = self.stringEncoding;
|
||||
HTTPClient.parameterEncoding = self.parameterEncoding;
|
||||
HTTPClient.registeredHTTPOperationClassNames = [self.registeredHTTPOperationClassNames copyWithZone:zone];
|
||||
HTTPClient.defaultHeaders = [self.defaultHeaders copyWithZone:zone];
|
||||
HTTPClient.registeredHTTPOperationClassNames = [self.registeredHTTPOperationClassNames mutableCopyWithZone:zone];
|
||||
HTTPClient.defaultHeaders = [self.defaultHeaders mutableCopyWithZone:zone];
|
||||
#ifdef _SYSTEMCONFIGURATION_H
|
||||
HTTPClient.networkReachabilityStatusBlock = self.networkReachabilityStatusBlock;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue