mirror of https://github.com/v2ray/v2ray-core
parent
475ffc8196
commit
60ee80ca1b
|
@ -319,6 +319,10 @@ func (w *AuthenticationWriter) writePacket(mb buf.MultiBuffer) error {
|
||||||
mb2Write.Append(eb)
|
mb2Write.Append(eb)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if mb2Write.IsEmpty() {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
return w.writer.WriteMultiBuffer(mb2Write)
|
return w.writer.WriteMultiBuffer(mb2Write)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue