XHTTP client: Add decideHTTPVersion() and more logs

https://github.com/XTLS/Xray-core/pull/4150#issuecomment-2537981368
This commit is contained in:
RPRX
2024-12-12 12:19:18 +00:00
committed by GitHub
parent 743435d6e6
commit 7463561856
4 changed files with 69 additions and 55 deletions

View File

@@ -52,7 +52,7 @@ func (h *uploadQueue) Push(p Packet) error {
if p.Reader != nil {
p.Reader.Close()
}
return errors.New("splithttp packet queue closed")
return errors.New("packet queue closed")
}
h.pushedPackets <- p