quic.go 306 B

123456789101112
  1. package quic
  2. //go:generate errorgen
  3. // Here is some modification needs to be done before update quic vendor.
  4. // * use bytespool in buffer_pool.go
  5. // * set MaxReceivePacketSize to 1452 - 32 (16 bytes auth, 16 bytes head)
  6. //
  7. //
  8. const protocolName = "quic"
  9. const internalDomain = "quic.internal.v2ray.com"