Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Validate failure on invalid STREAM frames #456

Merged
merged 5 commits into from May 5, 2020

Conversation

sappenin
Copy link
Contributor

@sappenin sappenin commented Apr 26, 2020

If a particular frame in a StreamPacket cannot be decoded for whatever reason, we should not swallow exception. See comments in unit test code for rationale.

Fixes #455

Signed-off-by: David Fuelling sappenin@gmail.com

If a particular frame in a StreamPacket cannot be decoded for whatever reason, we should skip that frame but otherwise keep trying to decode frames.

Signed-off-by: David Fuelling <sappenin@gmail.com>
@sappenin sappenin added the bug label Apr 26, 2020
@sappenin sappenin self-assigned this Apr 26, 2020
@sappenin sappenin changed the title Skip invalid STREAM frame WIP: Skip invalid STREAM frame Apr 26, 2020
Signed-off-by: David Fuelling <sappenin@gmail.com>
…valid-stream-frames

Signed-off-by: David Fuelling <sappenin@gmail.com>

# Conflicts:
#	codecs-parent/codecs-stream/src/test/java/org/interledger/codecs/stream/StreamPacketFixturesTest.java
@sappenin sappenin changed the title WIP: Skip invalid STREAM frame Validate stream failure on invalid STREAM frames May 5, 2020
@sappenin sappenin changed the title Validate stream failure on invalid STREAM frames Validate failure on invalid STREAM frames May 5, 2020
Signed-off-by: David Fuelling <sappenin@gmail.com>
@sappenin sappenin merged commit cb1b5d3 into master May 5, 2020
@sappenin sappenin deleted the df/skip-invalid-stream-frames branch May 5, 2020 22:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

Skip decoding invalid STREAM frames
2 participants