Make it work for streaming

This commit is contained in:
iamqizhao
2016-07-21 16:19:34 -07:00
parent 873cc272c2
commit 9ad4c58355
8 changed files with 120 additions and 37 deletions

View File

@ -391,6 +391,7 @@ func (s *Server) serveNewHTTP2Transport(c net.Conn, authInfo credentials.AuthInf
st.Close()
return
}
grpclog.Println("DEBUG addConn ... ")
s.serveStreams(st)
}
@ -808,7 +809,6 @@ func (s *Server) GracefulStop() {
s.events = nil
}
s.mu.Unlock()
}
func init() {