Skip to content

Conversation

@JohnDoneth
Copy link
Contributor

@JohnDoneth JohnDoneth commented Aug 14, 2019

Should (fix) #1443 in the v0.1.x branch.

UdpFramed now attempts to continue decoding past the first discrete item if there is more data in the read buffer. I added a test for this that sends a packet with 3 lines and tests for the successful decoding of each item in turn.

@JohnDoneth JohnDoneth changed the title Fix UdpFramed with regards to Decode in v0.1.x v0.1.x: Fix UdpFramed with regards to Decode Aug 14, 2019
@JohnDoneth JohnDoneth changed the title v0.1.x: Fix UdpFramed with regards to Decode v0.1.x: Fix UdpFramed with regard to Decode Aug 14, 2019
@JohnDoneth JohnDoneth changed the title v0.1.x: Fix UdpFramed with regard to Decode v0.1.x: Fix UdpFramed with regards to Decode Aug 15, 2019
Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks for doing this 👍

@LucioFranco
Copy link
Member

@carllerche any idea why we are getting this failure on min supported version?

@taiki-e
Copy link
Member

taiki-e commented Aug 15, 2019

@LucioFranco Perhaps due to #1369

@LucioFranco
Copy link
Member

@taiki-e ah yeah...I should get to reviewing those PRs.

@LucioFranco LucioFranco added the T-v0.1.x Topic: tokio 0.1.x label Aug 15, 2019
@dekellum
Copy link
Contributor

@JohnDoneth if you still pursuing this PR, try merging with current v0.1.x branch, for hope of passing CI?

@LucioFranco LucioFranco merged commit 11a1ce2 into tokio-rs:v0.1.x Aug 20, 2019
@LucioFranco
Copy link
Member

@JohnDoneth thanks for this! Is the other PR ready to review/merge into master?

@JohnDoneth
Copy link
Contributor Author

@LucioFranco of course, and yes it's ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-v0.1.x Topic: tokio 0.1.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants