jpillora / chisel

A fast TCP/UDP tunnel over HTTP
MIT License
12.36k stars 1.32k forks source link

bugfix : fix the udpConns map does not release new conns when its length is over 100 #515

Open FyZhu97 opened 2 months ago

FyZhu97 commented 2 months ago
  1. fix the udpConns does not release new conn in udpConn map when the length is over maxConns. The length of map continues growing and eventually makes new connections cannot read.
  2. make maxConns configurable