MCPcopy Create free account
hub / github.com/TalkingData/owl / SetMaxPacketSize

Method SetMaxPacketSize

common/tcp/server.go:113–115  ·  view source on GitHub ↗

在ListenAndServe之前调用

(size uint32)

Source from the content-addressed store, hash-verified

111
112//在ListenAndServe之前调用
113func (srv *Server) SetMaxPacketSize(size uint32) {
114 srv.maxPacketSize = size
115}

Callers 6

InitCFCFunction · 0.80
InitAgentFunction · 0.80
InitControllerFunction · 0.80
InitRepeaterFunction · 0.80
DialMethod · 0.80
InitCfcProxyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected