mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
fix stream settings check
This commit is contained in:
parent
b5d14b6823
commit
4812e66229
@ -93,7 +93,8 @@ func (h *Handler) Dial(ctx context.Context, dest v2net.Destination) (internet.Co
|
||||
if h.senderSettings.Via != nil {
|
||||
ctx = internet.ContextWithDialerSource(ctx, h.senderSettings.Via.AsAddress())
|
||||
}
|
||||
if h.senderSettings != nil {
|
||||
|
||||
if h.senderSettings.StreamSettings != nil {
|
||||
ctx = internet.ContextWithStreamSettings(ctx, h.senderSettings.StreamSettings)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user