ZF-6393: Wrong AMF0_AMF3 reference counting
Description
If there is more than one body part in a mixed AMF0/AMF3 message, and there are complex parameters (Anonymous and Typed objects) used, The requests will fail. The reason is, that the AMF3 protocol restarts reference counting when it switches from AMF0 to AMF3 mode, but the current AMF0 deserializer reuses the last used AMF3 deserializer, and therefore doesn't restart reference counting.
This bug is also the reason for bug ZF-5049/5382
I attached a patch which fixes the problem.
Regards Stefan
Comments
Posted by Andreas Adam (acadam71) on 2009-05-28T09:11:01.000+0000
Great Work Stefan! All our problem are blowing away! Now it runs fine!
Posted by Wade Arnold (wadearnold) on 2009-06-16T14:36:54.000+0000
Patch has been added to the standard trunk and will be updated with the next mini release of ZF