Skip to content

Conversation

SHyx0rmZ
Copy link
Contributor

@SHyx0rmZ SHyx0rmZ commented Aug 3, 2016

Section 3.4.2 of RFC6587 defines non-transparent-framing. This patch changes rfc6587.go to assume it just encountered non-transparent-framing if parsing an integer during octet counting fails.

As the trailer used in non-transparent-framing is not exactly specified in the RFC, this patch does not try to find any and instead assumes that the whole remainder of scannable data belongs to just a single message.

Looking forward to suggestions on how to improve this, if you have any.

@mcuadros mcuadros merged commit b579cfc into mcuadros:master Aug 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants