Skip to content

Listen filtering behavior for TLS connections? #338

@tfpauly

Description

@tfpauly

As I was updating text for #333, I noticed that the Listener object delivers connections, but doesn't provide a particular way to reject connections. Based on existing text, I assume that ReceivedConnection delivers a connection once the TLS server handshake is complete. Some implementation may want to rate limit, or modify/block inbound connections.

Should we have some event that lets applications handle inbound connections before they are ready?

Of course, for TLS, we can rely on callback handlers set for the handshake, but that requires each protocol to do this potentially.

Metadata

Metadata

Assignees

No one assigned

    Labels

    future workThings the WG wants, just not in the core docsmappings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions