-
Notifications
You must be signed in to change notification settings - Fork 10.4k
AFHTTPSessionManager
now copies its securityPolicy
#2887
Conversation
@mohamede1945 have you changed the SecurityPolicy in your manager other than |
Yes |
@mohamede1945 so when you do copy it reverted back to the |
Please, look at the copy method code, it's obvious that the property is not copied. |
@mohamede1945 yes i know the method doesn't have that copy with zone because |
@mohamede1945 Would you be willing to create a patch? Thanks! 🍻 |
@kcharwood Yeah sure, I'll do it over the weekend. |
return YES; | ||
} | ||
|
||
- (id)initWithCoder:(NSCoder *)decoder { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this id
to instancetype
please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! Updated.
👍 from me. |
AFHTTPSessionManager copying securityPolicy not getting copied
Merged in to the 3_0_0 branch with f573fdb |
AFHTTPSessionManager
now copies its securityPolicy
When I tried to copy the AFHTTPSessionManager the securityPolicy doesn't get copied with it.