mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-13 13:38:06 +08:00
8 lines
255 B
Go
8 lines
255 B
Go
//go:build !go1.21
|
|
|
|
package vmess
|
|
|
|
// Golang1.20's net.http Flush will mistakenly call w.WriteHeader(StatusOK) internally after w.WriteHeader(http.StatusSwitchingProtocols)
|
|
// https://github.com/golang/go/issues/59564
|
|
const writeHeaderShouldFlush = false
|