GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Spdy: Add UnknownFrame parsing support for SpdyFrameCodec. by normanmaurer · Pull Request #14561 · netty/netty Conversation
Member
Motivation: Modifications:
Result: More flexible SPDY implementation.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Motivation: To make our codec more flexible we should add support for unknown frames in SPDY. Modifications: - Add SpdyFrameDecoderExtendedDelegate that supports unknown frames - Add new constructor and protected method to SpdyFrameCodec that makes it easy to support it Result: More flexible SPDY implementation. Co-authored-by: Norman Maurer <[email protected]>
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
normanmaurer
commented
Uh oh!
There was an error while loading. Please reload this page.
He-Pin
reviewed
Uh oh!
There was an error while loading. Please reload this page.
He-Pin
reviewed
Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
He-Pin
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how about adding a protected method:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure I can do this if you need it.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
He-Pin
reviewed
Uh oh!
There was an error while loading. Please reload this page.
He-Pin
reviewed
Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
He-Pin
reviewed
|
|
LGTM |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The milestone should be 4.1.116.Final now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return false; | ||
| } | ||
| if (delegate instanceof SpdyFrameDecoderExtendedDelegate) { | ||
| ByteBuf data = buffer.alloc().buffer(length); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
what about using buffer.readSlice here?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes we could use readRetainedSlice(...). But let's do this in a followup as its true for other methods as well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Motivation: To make our codec more flexible we should add support for unknown frames in SPDY. Modifications: - Add default method to SpdyFrameDecoderDelegate to support unknown frames - Add new constructor and protected method to SpdyFrameCodec that makes it easy to support it Result: More flexible SPDY implementation. --------- Co-authored-by: 虎鸣 <[email protected]>
…14569) Motivation: To make our codec more flexible we should add support for unknown frames in SPDY. Modifications: - Add default method to SpdyFrameDecoderDelegate to support unknown frames - Add new constructor and protected method to SpdyFrameCodec that makes it easy to support it Result: More flexible SPDY implementation. Co-authored-by: 虎鸣 <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.