0
0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-08-28 09:25:30 +00:00
This commit is contained in:
风扇滑翔翼 2025-08-14 09:41:13 +00:00 committed by GitHub
parent 1258dca3ff
commit 2654aa5c7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -490,10 +490,7 @@ func (w uploadWriter) Write(b []byte) (int, error) {
*/
buffer := buf.MultiBufferContainer{}
n, err := buffer.Write(b)
if err != nil {
return 0, err
}
common.Must2(buffer.Write(b))
var writed int
for _, buff := range buffer.MultiBuffer {