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

kble_gsをWebSocketのgracefulな終了に対応させる #133

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

kobkaz
Copy link
Contributor

@kobkaz kobkaz commented Apr 19, 2024

概要

kble_gsのWebSocket接続がgracefulに終了した場合、uplink側はコマンド待ちで終了せず、downlink側はエラーを吐かないため、(次のコマンドが送られてきてsendに失敗するまで)joinから抜けられない
したがってjoinをselectに変更する

また、終了時にsink.clone()することでWebSocketの接続をgracefulに終了する

変更の意図や背景

発端となる Issue

@kobkaz kobkaz self-assigned this Apr 19, 2024
@kobkaz kobkaz requested a review from KOBA789 as a code owner April 19, 2024 09:51
@kobkaz kobkaz added the bug Something isn't working label Apr 19, 2024
Copy link
Member

@KOBA789 KOBA789 left a comment

Choose a reason for hiding this comment

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

たしかに。ありがとうございます

@KOBA789 KOBA789 added this to the v0.7.0 milestone Apr 19, 2024
@KOBA789
Copy link
Member

KOBA789 commented Apr 19, 2024

0.7.0-beta.5 の cargo package の実験後にマージします

@KOBA789 KOBA789 modified the milestones: v0.7.0, v1.0.0 Apr 19, 2024
@KOBA789
Copy link
Member

KOBA789 commented Apr 19, 2024

v0.7.0 に乗せ忘れたので v1.0.0 に入れます……(申し訳ない)

@KOBA789 KOBA789 merged commit 48a186e into main Apr 19, 2024
4 checks passed
@KOBA789 KOBA789 deleted the kble_gs_graceful_shutdown branch April 19, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants