mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 16:20:13 +01:00
remove debug statements
This commit is contained in:
parent
2299f46da1
commit
d1953f56cb
@ -2,7 +2,6 @@ package connection
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -59,17 +58,12 @@ func startProxy(wsConn *websocket.Conn, send *safeChannel, read chan []byte) {
|
|||||||
|
|
||||||
go recovery.DoNotPanic(func() {
|
go recovery.DoNotPanic(func() {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
fmt.Println("writePump start")
|
|
||||||
proxy.writePump()
|
proxy.writePump()
|
||||||
fmt.Println("writePump end")
|
|
||||||
})
|
})
|
||||||
|
|
||||||
go recovery.DoNotPanic(func() {
|
go recovery.DoNotPanic(func() {
|
||||||
fmt.Println("readPump start")
|
|
||||||
|
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
proxy.readPump()
|
proxy.readPump()
|
||||||
fmt.Println("readPump end")
|
|
||||||
})
|
})
|
||||||
|
|
||||||
go recovery.DoNotPanic(func() {
|
go recovery.DoNotPanic(func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user