UDP listener config (proto)

Listener configuration overview

config.listener.v3.UdpListenerConfig

[config.listener.v3.UdpListenerConfig proto]

{
  "downstream_socket_config": {...},
  "quic_options": {...},
  "udp_packet_packet_writer_config": {...}
}
downstream_socket_config

(config.core.v3.UdpSocketConfig) UDP socket configuration for the listener. The default for prefer_gro is false for listener sockets. If receiving a large amount of datagrams from a small number of sources, it may be worthwhile to enable this option after performance testing.

quic_options

(config.listener.v3.QuicProtocolOptions) Configuration for QUIC protocol. If empty, QUIC will not be enabled on this listener. Set to the default object to enable QUIC without modifying any additional options.

udp_packet_packet_writer_config

(config.core.v3.TypedExtensionConfig) Configuration for the UDP packet writer. If empty, HTTP/3 will use GSO if available (UdpDefaultWriterFactory) or the default kernel sendmsg if not, (UdpDefaultWriterFactory) and raw UDP will use kernel sendmsg.

Tip

This extension category has the following known extensions:

config.listener.v3.ActiveRawUdpListenerConfig

[config.listener.v3.ActiveRawUdpListenerConfig proto]