Skip to content

Avoid parse remote addr twice in processRequestCommand when call RpcHook #3346

@lifepuzzlefun

Description

@lifepuzzlefun

NettyRemotingAbstract#processRequestCommand will call RpcHook before and after process request.
origin code parse twice remote addr. i think we can use local variable to save string generate by parseChannelRemoteAddr

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions