|
@@ -23,7 +23,9 @@ func (this *OutboundConnectionHandler) Dispatch(destination v2net.Destination, p
|
|
|
output := ray.OutboundOutput()
|
|
output := ray.OutboundOutput()
|
|
|
|
|
|
|
|
this.Destination = destination
|
|
this.Destination = destination
|
|
|
- this.ConnOutput.Write(payload.Value)
|
|
|
|
|
|
|
+ if !payload.IsEmpty() {
|
|
|
|
|
+ this.ConnOutput.Write(payload.Value)
|
|
|
|
|
+ }
|
|
|
payload.Release()
|
|
payload.Release()
|
|
|
|
|
|
|
|
writeFinish := &sync.Mutex{}
|
|
writeFinish := &sync.Mutex{}
|