mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
proxy: enable splice in relay when using proxy.Conn
This commit is contained in:
1 parent
904757052d
commit
aefb9cd7ae
7 files changed
+22
-22
No files matched your search
+1
-1
@@ -90,7 +90,7 @@ func (w *frameWriter) Write(b []byte) (int, error) {
|
||||
}
|
||||
|
||||
buf := pool.GetBuffer(nPayload)
|
||||
pool.PutBuffer(buf)
|
||||
defer pool.PutBuffer(buf)
|
||||
|
||||
// mask
|
||||
_, err = w.Writer.Write(w.maskKey[:])
|
||||
|
||||
Reference in new issue
Block a user