mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-03 07:56:42 -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 {
|
if h.senderSettings.Via != nil {
|
||||||
ctx = internet.ContextWithDialerSource(ctx, h.senderSettings.Via.AsAddress())
|
ctx = internet.ContextWithDialerSource(ctx, h.senderSettings.Via.AsAddress())
|
||||||
}
|
}
|
||||||
if h.senderSettings != nil {
|
|
||||||
|
if h.senderSettings.StreamSettings != nil {
|
||||||
ctx = internet.ContextWithStreamSettings(ctx, h.senderSettings.StreamSettings)
|
ctx = internet.ContextWithStreamSettings(ctx, h.senderSettings.StreamSettings)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user