From 46acf61419c7a0995235ac9cd4cd2e230b445b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 25 Nov 2026 20:07:28 +0800 Subject: [PATCH] Wrap HTTP/2 errors in v2rayhttp server writes --- transport/v2rayhttp/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/v2rayhttp/conn.go b/transport/v2rayhttp/conn.go index 933a5821..92c2a040 100644 --- a/transport/v2rayhttp/conn.go +++ b/transport/v2rayhttp/conn.go @@ -236,7 +236,7 @@ type ServerHTTPConn struct { } func (c *ServerHTTPConn) Write(b []byte) (n int, err error) { - n, err = c.writer.Write(b) + n, err = c.HTTP2Conn.Write(b) if err == nil { c.Flusher.Flush() }