-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix non-local client connection problem when server listen on 0.0.0.0
It's xoscar's concept that When client init xoscar.actor_ref, server-side will return an ActorRef.address (which might redirect to another port). If server-side listen on zero ip, and client connect from a different host, the address 0.0.0.0:port returned by server is not address that can be reached. In this case we use client-side connect address to fix ActorRef.address
- Loading branch information
1 parent
19ba1c6
commit 6b56c4c
Showing
3 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters