mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
bug repair when high concurrent
This commit is contained in:
@@ -89,8 +89,9 @@ func (s *httpServer) Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *httpServer) Close() {
|
||||
func (s *httpServer) Close() error {
|
||||
s.stop <- true
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *httpServer) handleTunneling(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user