mirror of
https://github.com/apernet/OpenGFW.git
synced 2025-04-19 19:39:13 +08:00
feat: set Limit for socks5 analyzer
This commit is contained in:
parent
d2d4fa723a
commit
f004d17522
@ -35,7 +35,7 @@ func (a *Socks5Analyzer) Name() string {
|
|||||||
|
|
||||||
func (a *Socks5Analyzer) Limit() int {
|
func (a *Socks5Analyzer) Limit() int {
|
||||||
// TODO: more precise calculate
|
// TODO: more precise calculate
|
||||||
return 0
|
return 1298
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Socks5Analyzer) NewTCP(info analyzer.TCPInfo, logger analyzer.Logger) analyzer.TCPStream {
|
func (a *Socks5Analyzer) NewTCP(info analyzer.TCPInfo, logger analyzer.Logger) analyzer.TCPStream {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user