Skip to content

bug: ping_balancer tests tcp connection in udp_only mode #1234

@fortime

Description

@fortime

It prints 'no valid TCP server serving for TCP clients, consider disable TCP with "mode": "udp_only"', even if there is only "udp_only" mode in locals.
I think this line is the cause.

let mut mode = Mode::TcpOnly;

It sets "tcp_only" by default. The ping_balancer will always test tcp connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions