mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-13 01:08:39 +07:00
optimize(udp)/fix(quicSniffer): optimize performance of udp and fix a potential panic of quic (#301)
This commit is contained in:
2
main.go
2
main.go
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user