Merge pull request #1114 from OliverLetterer/copy-http-client
Fixing -[AFHTTPClient copyWithZone:].
This commit is contained in:
commit
0d0f156c2e
@ -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…
Reference in New Issue
Block a user