Skip to content

L2capChannel::accept stuck forever when there is a disconnection event in runner #355

@jancespivo

Description

@jancespivo

During L2capChannel::accept

runner.run() logged:

INFO [host] disconnection event on handle 64, reason: Remote User Terminated Connection

And L2capChannel::accept doesn't return any result. Just stuck in unknown state forever.

IMO this disconnection event should cause L2capChannel::accept to return an error.

I've tried to find the way how to fix it myself and I found this line


chan.state is ChannelState::Disconnected which is starting state so I don't know how to get from there.

Thanks!

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