mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-08-12 04:11:51 +00:00
feat: ignoreClientBandwidth
This commit is contained in:
@@ -19,17 +19,18 @@ const (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
TLSConfig TLSConfig
|
||||
QUICConfig QUICConfig
|
||||
Conn net.PacketConn
|
||||
Outbound Outbound
|
||||
BandwidthConfig BandwidthConfig
|
||||
DisableUDP bool
|
||||
UDPIdleTimeout time.Duration
|
||||
Authenticator Authenticator
|
||||
EventLogger EventLogger
|
||||
TrafficLogger TrafficLogger
|
||||
MasqHandler http.Handler
|
||||
TLSConfig TLSConfig
|
||||
QUICConfig QUICConfig
|
||||
Conn net.PacketConn
|
||||
Outbound Outbound
|
||||
BandwidthConfig BandwidthConfig
|
||||
IgnoreClientBandwidth bool
|
||||
DisableUDP bool
|
||||
UDPIdleTimeout time.Duration
|
||||
Authenticator Authenticator
|
||||
EventLogger EventLogger
|
||||
TrafficLogger TrafficLogger
|
||||
MasqHandler http.Handler
|
||||
}
|
||||
|
||||
// fill fills the fields that are not set by the user with default values when possible,
|
||||
|
Reference in New Issue
Block a user