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

rpc: fix pegasus-186 #169

Merged
merged 2 commits into from
Oct 10, 2018
Merged

rpc: fix pegasus-186 #169

merged 2 commits into from
Oct 10, 2018

Conversation

neverchanje
Copy link
Contributor

refer to apache/incubator-pegasus#186
The main cause is that during port scanning of nmap, the rpc server failed to get the remote endpoint via socket->remote_endpoint() and unexpectedly thrown a exception.
This PR uses error_code instead of exception on error handling, let the process run after error.

@neverchanje neverchanje merged commit 137fa53 into XiaoMi:master Oct 10, 2018
vagetablechicken pushed a commit to vagetablechicken/rdsn that referenced this pull request Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug-fix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants