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

ENH: fix non-local client connection problem when server listen on 0.0.0.0 #92

Merged
merged 1 commit into from
Jul 10, 2024

Commits on Jul 10, 2024

  1. 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
    frostyplanet committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1ee70d1 View commit details
    Browse the repository at this point in the history