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

Don't log user initiated abort as err #11

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

xnorpx
Copy link
Contributor

@xnorpx xnorpx commented Apr 28, 2024

In some shutdown scenarios were we do sctp user initiated abort this generates Error in our log and we cannot turn it off.

Since the abort is intentional this PR, suggest to change this error message to debug instead.

Tested with our server and I verified that the change caused this line:

2024-04-28T03:06:35.556480Z ERROR sctp_proto::association: handle_inbound got err: abort chunk, with following errors: (User Initiated Abort)

to:

2024-04-28T03:48:57.762789Z DEBUG sctp_proto::association: User initiated abort received

@yngrtc yngrtc merged commit 60c4cd5 into webrtc-rs:main Apr 28, 2024
4 checks passed
@xnorpx
Copy link
Contributor Author

xnorpx commented Apr 28, 2024

Thanks!

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