Skip to content

Should we add a DGRAM filter in the receiver for proxy-socket-udp #10

Description

@bplessis-swi

but we could also have an UNIX Datagram and we don't want to accept it right ?

I mean we only supposed to handle :

local
udp v4
udp v6
(maybe no proxyprotocol at all)

Right ?
Any other value on ProxyDatagramSocket is not expected, right ?
Because this is supposed to replace an existing DataGramSocket "transparently"
(maybe I missed something 🤔)

He if we checked before that udp v4 or v6 is used than there is not possible null value. (except in case of bug) and so test is not needed ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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