optimize(udp)/fix(quicSniffer): optimize performance of udp and fix a potential panic of quic (#301)

This commit is contained in:
mzz
2023-11-15 14:32:57 +08:00
committed by GitHub
parent dedc716413
commit 25c047a766
33 changed files with 968 additions and 466 deletions

View File

@ -16,9 +16,11 @@ import (
"github.com/daeuniverse/dae/common/json"
jsoniter "github.com/json-iterator/go"
"github.com/json-iterator/go/extra"
// _ "net/http/pprof"
)
func main() {
// go http.ListenAndServe("0.0.0.0:8000", nil)
jsoniter.RegisterTypeDecoder("bool", &json.FuzzyBoolDecoder{})
extra.RegisterFuzzyDecoders()