Skip to content

Revise TcpListener.onMessage() contract #10314

@artembilan

Description

@artembilan

Looks like the boolean return from this method is ignored anywhere in the project.
Many places just always returns false.
Plus in some places this method called as like it is void.

The suggestion is to bite a bullet and change this contract to void.
Even if this is a breaking change, it should be OK for the current major version.

CC: @garyrussell

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions