Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix write_data() when size 0 #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lars18th
Copy link

@lars18th lars18th commented Dec 2, 2020

When working with RTP packets, if you receive a new network packet without payload then the relay loop is exited. This is not a good behaviour, as you can receive such packets at any time. Thus this patch fixes this permiting the write of 0 bytes inside the function. No side effects are detected, so the patch looks good.

When working with RTP packets, if you receive a new network packet without payload then the relay loop is exited. This is not a good behaviour, as you can receive such packets at any time. Thus this patch fixes this permiting the write of 0 bytes inside the function. No side effects are detected, so the patch looks good.
@lars18th
Copy link
Author

Hi @pcherenkov ,

If you agree then merge it, please!

Regards.

@pcherenkov
Copy link
Owner

pcherenkov commented Dec 21, 2020 via email

@pcherenkov
Copy link
Owner

This will be bundled in with the changes for another issue. No need for a separate merge.

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