NSData* Body = Request.HTTPBody; // accessing HTTPBody will call copy on the value, increasing its retain count
RequestPayload.Empty();
RequestPayload.Append((const uint8*)Body.bytes, Body.length);
If Body.length = 0 RequestPayload.Append() will cause crash
As someone who isn’t familiar with this function, could you provide a reproduction case of some sort? Also, do you have a callstack for the crash in question? Any logs?
We haven’t heard from you in a while, Bassist66. Are you still experiencing this issue? If so, can you provide the information that I requested? In the meantime, I’ll be marking this issue as resolved for tracking purposes.