mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
Fix "disable quit on connection interrupt"
This commit is contained in:
parent
dbbb84007f
commit
703b2da5a7
@ -123,7 +123,7 @@ func createStatusFromConfig(config *UDPProtocolConfig) (*status, error) {
|
||||
s.msgbus = ibus.NewMessageBus()
|
||||
ctx = context.WithValue(ctx, interfaces.ExtraOptionsMessageBus, s.msgbus) //nolint:revive
|
||||
|
||||
s.ctx = context.WithValue(s.ctx, interfaces.ExtraOptionsDisableAutoQuitForClient, true) //nolint:revive
|
||||
ctx = context.WithValue(ctx, interfaces.ExtraOptionsDisableAutoQuitForClient, true) //nolint:revive
|
||||
|
||||
if config.EnableFec {
|
||||
ctx = context.WithValue(ctx, interfaces.ExtraOptionsUDPFECEnabled, true) //nolint:revive
|
||||
|
Loading…
Reference in New Issue
Block a user