This commit is contained in:
crusader 2017-10-31 20:04:35 +09:00
parent e7d8d2dc1b
commit 41d269f268

View File

@ -3,6 +3,7 @@ package server
import (
"fmt"
"io"
"log"
"sync"
"sync/atomic"
"time"
@ -112,6 +113,7 @@ func handleClientConnection(c *client, conn io.ReadWriteCloser) {
return
}
log.Printf("handleClientConnection")
clientStopChan := make(chan struct{})
go c.ch.Handle(conn, clientStopChan)