Forráskód Böngészése

Merge pull request #8895 from erikh/proxy_udp_size

pkg/proxy: Bump the maximum size of a UDP packet.
Jessie Frazelle 10 éve
szülő
commit
7a2dc8b889
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      pkg/proxy/udp_proxy.go

+ 1 - 1
pkg/proxy/udp_proxy.go

@@ -13,7 +13,7 @@ import (
 
 const (
 	UDPConnTrackTimeout = 90 * time.Second
-	UDPBufSize          = 2048
+	UDPBufSize          = 65507
 )
 
 // A net.Addr where the IP is split into two fields so you can use it as a key