mirror of
https://github.com/astaxie/beego.git
synced 2025-07-17 12:52:16 +00:00
fix panic: sync: negative WaitGroup counter
This commit is contained in:
@@ -37,7 +37,7 @@ func (gl *graceListener) Accept() (c net.Conn, err error) {
|
||||
tc.SetKeepAlive(true)
|
||||
tc.SetKeepAlivePeriod(3 * time.Minute)
|
||||
|
||||
c = graceConn{
|
||||
c = &graceConn{
|
||||
Conn: tc,
|
||||
server: gl.server,
|
||||
}
|
||||
|
Reference in New Issue
Block a user