Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(security): make network support security negotiation #589

Merged
merged 17 commits into from
Aug 21, 2020

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Aug 12, 2020

  1. Add judgement for whether it is auth success when receves message. Reject the msg if auth is not success and the msg is not negotiation.

  2. Add judgement for whether it is negotiation message when send message.Only negotiation message is sent if the connecting state is not connected.

src/runtime/rpc/network.cpp Outdated Show resolved Hide resolved
include/dsn/tool-api/network.h Outdated Show resolved Hide resolved
src/runtime/rpc/network.cpp Outdated Show resolved Hide resolved
neverchanje
neverchanje previously approved these changes Aug 21, 2020
acelyc111
acelyc111 previously approved these changes Aug 21, 2020
@levy5307 levy5307 dismissed stale reviews from acelyc111 and neverchanje via 57f9830 August 21, 2020 08:12
@acelyc111 acelyc111 merged commit 27c1d6b into XiaoMi:master Aug 21, 2020
@levy5307 levy5307 deleted the network-security branch August 21, 2020 08:59
levy5307 added a commit to levy5307/rdsn that referenced this pull request Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants