mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Remove pools from faketls
This commit is contained in:
+1
-4
@@ -67,8 +67,5 @@ func cloak(one, another io.ReadWriteCloser) {
|
||||
func cloakPipe(one io.Writer, another io.Reader, wg *sync.WaitGroup) {
|
||||
defer wg.Done()
|
||||
|
||||
buf := acquireCloakBuffer()
|
||||
defer releaseCloakBuffer(buf)
|
||||
|
||||
io.CopyBuffer(one, another, *buf) // nolint: errcheck
|
||||
io.Copy(one, another) // nolint: errcheck
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user