Browse Source

Chore: add TODOs

pull/133/head
xjasonlyu 3 years ago
parent
commit
6cfbf4d0e6
  1. 4
      stats/netstats.go
  2. 1
      tunnel/udp.go

4
stats/netstats.go

@ -0,0 +1,4 @@
package stats
// TODO: Network statistic support.
func init() {}

1
tunnel/udp.go

@ -25,6 +25,7 @@ func newUDPTracker(conn net.PacketConn, metadata *M.Metadata) net.PacketConn {
return statistic.NewUDPTracker(conn, metadata, statistic.DefaultManager) return statistic.NewUDPTracker(conn, metadata, statistic.DefaultManager)
} }
// TODO: Port Restricted NAT support.
func handleUDPConn(uc adapter.UDPConn) { func handleUDPConn(uc adapter.UDPConn) {
defer uc.Close() defer uc.Close()

Loading…
Cancel
Save