Skip to content

Read DNS message header bytes first when receiving a TCP message. #627

@ximon18

Description

@ximon18

Raised originally at NLnetLabs/cascade#581.

With a HTTP client that accidentally tries to query the TCP port of a domain::net::server TCP nameserver this can cause the client to hang as the server awaits bytes that will never be sent.

One solution could be to read only the DNS header message bytes first, not await the entire message.

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