mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-12-01 14:18:36 +00:00
Wrap HTTP/2 errors in v2rayhttp server writes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user