You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/01/13 14:13:20 UTC
[GitHub] [royale-asjs] SemiConscious opened a new pull request #1053: Completed 'todo' item: allow amf0 bead to upgrade to amf3 encoding
SemiConscious opened a new pull request #1053:
URL: https://github.com/apache/royale-asjs/pull/1053
Adds functionality marked 'todo' in the source.
There are 2 data encodings used by AMF: AMF0 and AMF3. Royale supports AMF3 by default and AMF0 via the AMF0AMF3Context bead. There is a complication in the AMF0 encoding, which is that it can upgrade from AMF0 to AMF3 midway through a read (or write), and this change implements that for reads.
I also added an override of the base class reset function which switches the `switchedToAMF3` state variable back to false if `reset()` is called, so in the future if the code is extended to handle multiple reads it should call `reset()` at the beginning of each read.
This has been tested against the existing unit tests, and our (my employer's) production AMF service which requires every combination you can think of, including AMF0->AMF3 upgrade.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] greg-dove commented on pull request #1053: Completed 'todo' item: allow amf0 bead to upgrade to amf3 encoding
Posted by GitBox <gi...@apache.org>.
greg-dove commented on pull request #1053:
URL: https://github.com/apache/royale-asjs/pull/1053#issuecomment-759763258
Thanks for working on that. I only added he amf0 support a few months back and quite frankly was not expecting anyone else would need it! Much appreciated!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] greg-dove merged pull request #1053: Completed 'todo' item: allow amf0 bead to upgrade to amf3 encoding
Posted by GitBox <gi...@apache.org>.
greg-dove merged pull request #1053:
URL: https://github.com/apache/royale-asjs/pull/1053
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] SemiConscious commented on pull request #1053: Completed 'todo' item: allow amf0 bead to upgrade to amf3 encoding
Posted by GitBox <gi...@apache.org>.
SemiConscious commented on pull request #1053:
URL: https://github.com/apache/royale-asjs/pull/1053#issuecomment-760978361
It's the least I can do! You people have done an amazing job on this - it
really is a complete life saver. Man years of coding would otherwise have
to have been thrown away.
I came a little unstuck trying to sort out a different AMF issue I came
across a couple of weeks ago. I submitted a pull request which got merged,
then had to be backed out because it broke the examples (didn't realise
there were any!) - and I'd appreciate your input.
I have created https://github.com/apache/royale-asjs/pull/1056 - I would be
very grateful if you would take a look.
All the best
Jim
On Wed, 13 Jan 2021 at 21:56, greg-dove <no...@github.com> wrote:
> Thanks for working on that. I only added he amf0 support a few months back
> and quite frankly was not expecting anyone else would need it! Much
> appreciated!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/royale-asjs/pull/1053#issuecomment-759763258>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AANMOPVYDITJRWQXBFP4JILSZYJH5ANCNFSM4WA3WELQ>
> .
>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org