Skip to content

TLSSocketWrapper::recvfrom does not output source address #10865

@kjbracey

Description

@kjbracey

Description

TLSSocketWrapper::recvfrom does not output the peer address. This is not a fundamental issue, as the underlying transport will be connected, hence all packets should be already known to come from the connected peer (via the TCP connection or filtering in UDPSocket) - TLSSocketWrapper relies on this when it just uses transport->recv.

But generic datagram application code may neverless be checking the address output from Socket::recvfrom - this caused a failure when attempting to switch some client code from using UDPSocket to DTLSSocket.

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions