Skip to content

contrib-sipproxy: Fix the issue when teardown#20580

Merged
wbpcode merged 1 commit intoenvoyproxy:mainfrom
durd07:sipproxy-v9
Apr 12, 2022
Merged

contrib-sipproxy: Fix the issue when teardown#20580
wbpcode merged 1 commit intoenvoyproxy:mainfrom
durd07:sipproxy-v9

Conversation

@durd07
Copy link
Copy Markdown
Member

@durd07 durd07 commented Mar 30, 2022

When their are more than one TRA subscribe actions, stream_ maybe
overwrited which cause the last connection can't be resetted gracefully.
so introduce a list of stream_callbacks and request_callbacks.

Signed-off-by: Felix Du durd07@gmail.com

Commit Message: contrib-sipproxy: Fix the coredump when teardown
Additional Description: When their are more than one TRA subscribe actions, stream_ maybe overwrited which cause the last connection can't be resetted gracefully. so introduce a list of stream_callbacks and request_callbacks to fix it.
Risk Level: Low
Testing: unit test/integrated test
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

When their are more than one TRA subscribe actions, stream_ maybe
overwrited which cause the last connection can't be resetted gracefully.
so introduce a list of stream_callbacks and request_callbacks.

Signed-off-by: Felix Du <durd07@gmail.com>
@durd07
Copy link
Copy Markdown
Member Author

durd07 commented Apr 1, 2022

@envoyproxy/envoy-maintainers PTAK.
Thanks in advance.

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Apr 2, 2022

/assign

@durd07
Copy link
Copy Markdown
Member Author

durd07 commented Apr 7, 2022

@wbpcode

@durd07
Copy link
Copy Markdown
Member Author

durd07 commented Apr 8, 2022

@envoyproxy/admins @envoyproxy/envoy-maintainers Could anyone help to review and merge this contrib PR?

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Apr 11, 2022

Sorry for the late reply. I was on my vacation last week.

Copy link
Copy Markdown
Member

@wbpcode wbpcode 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 the contributions. And cc @envoyproxy/senior-maintainers for merge or second pass.

@wbpcode wbpcode merged commit 30005a5 into envoyproxy:main Apr 12, 2022
@durd07 durd07 deleted the sipproxy-v9 branch April 12, 2022 07:51
vehre-x41 pushed a commit to vehre-x41/envoy that referenced this pull request Apr 19, 2022
When their are more than one TRA subscribe actions, stream_ maybe
overwrited which cause the last connection can't be resetted gracefully.
so introduce a list of stream_callbacks and request_callbacks.

Signed-off-by: Felix Du <durd07@gmail.com>
Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
When their are more than one TRA subscribe actions, stream_ maybe
overwrited which cause the last connection can't be resetted gracefully.
so introduce a list of stream_callbacks and request_callbacks.

Signed-off-by: Felix Du <durd07@gmail.com>
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.

3 participants