Skip to content

gameでClient.hmacのraceを回避するためpeerそれぞれがhash.Hashを持つように#97

Open
makiuchi-d wants to merge 1 commit intomainfrom
fix-client-hmac-race
Open

gameでClient.hmacのraceを回避するためpeerそれぞれがhash.Hashを持つように#97
makiuchi-d wants to merge 1 commit intomainfrom
fix-client-hmac-race

Conversation

@makiuchi-d
Copy link
Copy Markdown
Member

peer毎にMsgLoopが回っているので、再接続時に古いPeerのMsgLoopがまだ生きている場合にhmacの計算が衝突することがありました。
peerごとにhmacオブジェクトを持つように修正しました。

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