Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for closeConnection (0.42 sec)

  1. pilot/pkg/xds/ads.go

    	// proxy
    	defer con.MarkInitialized()
    
    	// Complete full initialization of the proxy
    	if err := s.initializeProxy(con); err != nil {
    		s.closeConnection(con)
    		return err
    	}
    	return nil
    }
    
    func (s *DiscoveryServer) closeConnection(con *Connection) {
    	if con.ID() == "" {
    		return
    	}
    	s.removeCon(con.ID())
    	if s.StatusReporter != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/delta.go

    				return
    			}
    			if err := s.initConnection(req.Node, con, identities); err != nil {
    				con.ErrorCh() <- err
    				return
    			}
    			defer s.closeConnection(con)
    			deltaLog.Infof("ADS: new delta connection for node:%s", con.ID())
    		}
    
    		select {
    		case con.deltaReqChan <- req:
    		case <-con.deltaStream.Context().Done():
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top