Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDialTimeOut = 3 * time.Second DefaultReadTimeOut = 5 * time.Second DefaultIdleTimeOut = 10 * time.Second DefaultSniffTimeOut = 300 * time.Millisecond // todo,support config in relay config BUFFER_POOL_SIZE = 1024 // support 512 connections BUFFER_SIZE = 40 * 1024 // 40KB ,the maximum packet size of shadowsocks is about 16 KiB so this is enough UDPBufSize = 1500 // use default max mtu 1500 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.